Updated RgbColor object API (markdown)

Michael Miller
2023-03-29 11:13:29 -07:00
parent ce793fcc70
commit ded78c6500

@@ -7,6 +7,18 @@ uint8_t R;
uint8_t G;
uint8_t B;
```
There are also a few constant properties that are helpful to use. These are..
#### Max
The highest value for a single color element.
```
const static uint16_t Max = 255;
```
#### Count
The number of color elements. Useful when accessing the elements using the [] operators.
```
const static size_t Count = 3;
```
## Constructors
### RgbColor(uint8_t r, uint8_t g, uint8_t b) :