map()
map(integer $color, array $palette, $version) : array
Read color
Parameters
integer | $color | Indexed color |
array | $palette | Color palette |
$version |
Returns
array —RGB color value, example: array('rgb' => 'FF0000')