- Name
-
Red -- return red portion of a color (V1.9)
- Synopsis
-
r = Red(color)
- Function
-
This function returns the 8-bit red component of a color in the
RGB format.
- Inputs
-
- color
- input color in RGB format
- Results
-
- r
- red component of the color
- Example
-
r = Red($24C0C0)
The above code will return $24 which is the red component
of the color.
Show TOC