Developer's Manual  Blocks  Property types  color

color

Allows selecting a color.

Example

<?
$properties
= Array(
  
'color' => Array(
    
'type'     => 'color',
    
'value'    => '#FF0000',
    
'label'    => 'Color'
  
)
);
?>

The color type has Color Editor assigned to it.

Please login to add comments.