diff --git a/RgbColor-object-API.md b/RgbColor-object-API.md index cfd4569..f4a15ea 100644 --- a/RgbColor-object-API.md +++ b/RgbColor-object-API.md @@ -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) :