From 1d41efd6cd17ccdecd950ddbcc65897662e1c9d2 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Wed, 5 Jul 2023 11:04:54 -0700 Subject: [PATCH] Updated Color objects (markdown) --- Color-objects.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Color-objects.md b/Color-objects.md index 811e78e..cfd46ae 100644 --- a/Color-objects.md +++ b/Color-objects.md @@ -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.