public function getRepeatable()
{
if (isset($this->element['legacy'])) {
return $this->getInput();
}
$class = $this->class ? $this->class : '';
$hexColor = '#' . ltrim($this->value, '#');
return '<div class="' . $this->id . ' ' . $class . '" style="width:20px; height:20px; background-color:' . $hexColor . ';">' . '</div>';
}