|
| | RGB666 ()=default |
| | Creates a black RGB666 color.
|
| |
| | RGB666 (uint8_t r, uint8_t g, uint8_t b) |
| | Creates a color from 8-bit red, green, and blue components.
|
| |
| void | setValue (uint8_t r, uint8_t g, uint8_t b) |
| | Sets the color from 8-bit red, green, and blue components.
|
| |
| uint8_t | getRed () const |
| | Returns the red component (expanded to 8 bits).
|
| |
| uint8_t | getGreen () const |
| | Returns the green component (expanded to 8 bits).
|
| |
| uint8_t | getBlue () const |
| | Returns the blue component (expanded to 8 bits).
|
| |
| const uint8_t * | getValue () const |
| | Returns the packed RGB666 value as a pointer to 3 bytes (upper 6 bits used).
|
| |
RGB color stored in 18-bit RGB666 format.
The class provides conversion between 8-bit per channel RGB values and the packed 18-bit representation (3 bytes, 6 bits per channel, upper bits used) commonly used in displays.