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