Updated Color objects (markdown)

Michael Miller
2023-07-05 11:04:54 -07:00
parent 9bba2e0065
commit 1d41efd6cd

@@ -9,6 +9,10 @@ This represents a color as RGBW model and exposes useful methods to manipulate c
The color components are Red, Green, Blue, and White each with 8 bits of precision. With a total of 32 bits.
This can only be used with NeoPixelBus that was declared with a four element color feature like NeoRgbwFeature.
# [RgbwwColor object](https://github.com/Makuna/NeoPixelBus/wiki/RgbwwColor-object-API)
This represents a color as RGBWW model and exposes useful methods to manipulate colors. This is the native color used and is the most efficient with a NeoPixelBus defined with NeoGrbcwxFeature.
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.
# [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.
@@ -19,7 +23,7 @@ This represents a color as RGB model and exposes useful methods to manipulate co
The color components are Red, Green, and Blue each with 16 bits of precision. With a total of 48 bits.
# [Rgbw64Color object](https://github.com/Makuna/NeoPixelBus/wiki/Rgbw64Color-object-API)
This represents a color as RGBW model and exposes useful methods to manipulate colors. This is the native color used with some color features where the pixel supports 16bit precision.
This represents a color as RGBW model and exposes useful methods to manipulate colors. This is the native color used with some color features where the pixel supports 16bit precision with a white channel.
The color components are Red, Green, Blue, and White each with 16 bits of precision. With a total of 64 bits.
This can only be used with NeoPixelBus that was declared with a four element 16 bit color feature like NeoRgbwUcs8904Feature.