Function GraGetRGBIntensity() Foundation
Calculates color intensities for red, green and blue from a RGB color value.
GraGetRGBIntensity( <nRGBColor> ) --> aRGB | NIL
The function returns an array with three elements. Each element contains an integer in the range from 0 to 255 indicating the color intensity for red, green and blue: {nRed, nGreen, nBlue}.
If <nRGBColor> is not a valid RGB color value, the function returns NIL.
The function is used to obtain the individual color intensities for the three colors red, green and blue from a RGB color value. The latter is returned by the function GraMakeRGBColor().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.