mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 12:54:26 +02:00
Updated Color objects (markdown)
@@ -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.
|
||||
|
Reference in New Issue
Block a user