Updated Rgb48Color object API (markdown)

Michael Miller
2023-03-29 11:12:45 -07:00
parent 76f357b27c
commit ce793fcc70

@@ -7,6 +7,19 @@ uint16_t R;
uint16_t G;
uint16_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 = 65535;
```
#### Count
The number of color elements. Useful when accessing the elements using the [] operators.
```
const static size_t Count = 3;
```
## Constructors
### Rgb48Color(uint16_t r, uint16_t g, uint16_t b) :