(PECL imagick 2, PECL imagick 3)
Imagick::setImageColormapColor — Sets the color of the specified colormap index
$index
$color
Sets the color of the specified colormap index.
index
color
Returns true on success.
true
Throws ImagickException on error.