|
WPILibC++
2020.3.2
|
Represents colors that can be used with Addressable LEDs. More...
#include <Color8Bit.h>
Public Member Functions | |
| constexpr | Color8Bit (int r, int g, int b) |
| Constructs a Color8Bit. More... | |
| constexpr | Color8Bit (const Color &color) |
| Constructs a Color8Bit from a Color. More... | |
| constexpr | operator Color () const |
Public Attributes | |
| int | red = 0 |
| int | green = 0 |
| int | blue = 0 |
Represents colors that can be used with Addressable LEDs.
|
inlineconstexpr |
Constructs a Color8Bit.
| red | Red value (0-255) |
| green | Green value (0-255) |
| blue | Blue value (0-255) |
|
inlineconstexpr |