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