|
|
|
|
|
- Miscellaneous
- Drawing in PHP
RGBRed (Function) In french: RVBRouge Returns the red component of an RGB color.
Syntax
<Result> = RGBRed(<RGBÂ color>)
<Result>: Integer Red component of RGB color (included between 0 and 255). <RGB color>: Integer Color (24 bits). This color is the result of the following formula:Color = 65536 * Blue Component + 256 * Green Component + Red Component. Remarks - RGB returns the identifier of the color described from its Red, Green and Blue components.
- RGBBlue returns the blue component of an RGB color. RGBGreen returns the green component of an RGB color.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|