(PECL imagick 2.0.0)
Gets the normalized value of the provided color channel
float ImagickPixel::getColorValue ( int $color )
Retrieves the value of the color channel specified, as a floating-point number between 0 and 1.
Parameters:
color
The color to get the value of, specified as one of the Imagick color constants. This can be one of the RGB colors, CMYK colors, alpha