Updated Rgb48Color object API (markdown)

Michael Miller
2023-07-05 10:53:07 -07:00
parent 3726b05e1d
commit 2fa5ff8328

@@ -142,4 +142,8 @@ This will blend between four colors by the amount defined by 2d weighting values
The index operator allows accessing the R, G, and B properties using an index. There are both read only and read write versions. The index operator allows accessing the R, G, and B properties using an index. There are both read only and read write versions.
``` ```
uint16_t green = color[1]; uint16_t green = color[1];
```
You can also use the color index constants.
```
uint16_t green = color[ColorIndexG];
``` ```