Crgb8
Describes a 8-bits RGB color.
Inherits from
Methods
Name | Description |
---|---|
toRGB | Returns the RGB color in 32-bits. |
setZero | Sets all values to zero. |
getSummatory | Returns R+G+B. |
isZero | Checks whether all RGB values are zero. |
toRGB
Returns the RGB color in 32-bits.
Language | Syntax |
---|---|
C++ | void toRGB( Crgb& rgb ) |
Python | Crgb toRGB() |