Describes a 16bits RGB color.
Inherits from
Methods
Name | Description |
---|---|
toRGB | Returns the RGB color in 32-bits. |
toRGB8 | Returns the RGB color in 8-bits. |
getSummatory | Returns R+G+B. |
Anchor | ||||
---|---|---|---|---|
|
toRGB
Returns the RGB color in 32-bits.
Language | Syntax |
---|---|
C++ | void toRGB( Crgb& rgb ) |
Python | Crgb toRGB() |
Anchor | ||||
---|---|---|---|---|
|
toRGB8
Returns the RGB color in 8-bits.
Language | Syntax |
---|---|
C++ | toRGB8( Crgb8& rgb8 ) |
Python | Crgb8 toRGB8() |