Updated Color objects (markdown)

Michael Miller
2024-01-19 10:32:31 -08:00
parent 9ae4456b8d
commit 6b7fab73bc

@@ -14,6 +14,11 @@ This represents a color as RGBWW model and exposes useful methods to manipulate
The color components are Red, Green, Blue, Warmer White, and Cooler White each with 8 bits of precision. With a total of 40 bits.
This can only be used with NeoPixelBus that was declared with a six element (one unused) color feature like NeoGrbcwxFeature.
# [RgbwwwColor object](https://github.com/Makuna/NeoPixelBus/wiki/RgbwwwColor-object-API)
This represents a color as RGBWWW model and exposes useful methods to manipulate colors. This is the native color used and is the most efficient with a NeoPixelBus defined with NeoGrbwwwFeature.
The color components are Red, Green, Blue, White 1, White 2, and White 3; each with 8 bits of precision. With a total of 48 bits.
This can only be used with NeoPixelBus that was declared with a six element color feature like NeoGrbwwwFeature.
# [Rgb16Color object](https://github.com/Makuna/NeoPixelBus/wiki/Rgb16Color-object-API)
This represents a color as RGB 565 model and exposes useful methods to manipulate colors. It uses a single uint16_t to store the color.
The color components are Red, Green, and Blue. 5 bits for red, 6 bits for green, and 5 bits for blue. With a total of 16 bits.