lcd.RGB
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns colorFlag in RGB565 format that can be used with lcd draw functions.
r
integer
number between 0 (0x00) and 255 (0xFF) that expresses te amount of red in the color
g
interer
number between (0x00) and 255 (0xFF) that expresses te amount of green in the color
b
integer
number between (0x00) and 255 (0xFF)that expresses te amount of blue in the color
or
rgb
integer
number between 0 (0x00) and 16777215 (0xFFFFFF) that expresses the RGB value (0xFF0000=RED, 0x00FF00=GREEN, 0x0000FF=BLUE)
color_flag
. See
2.3.0
Introduced