|
|
|
|
|
- Miscellaneous
- Drawing in PHP
RGBBlue (Function) In french: RVBBleu Returns the blue component of an RGB color.
RGBBlue(RGB(128, 38, 15)) // Returns 15
Syntax
<Result> = RGBBlue(<RGBÂ color>)
<Result>: Integer Blue component of the 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.
- RGBRed returns the red component of an RGB color. RGBGreen returns the green component of an RGB color.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|