mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-06 20:34:27 +02:00
Updated HtmlColor object API (markdown)
@@ -1,4 +1,7 @@
|
||||
HtmlColor represents a color object that uses the Html color value standard that is represented by a single uint32_t. The primary use of this class is to convert to other color objects.
|
||||
HtmlColor represents a color object that uses the Html color value standard that is represented by a single uint32_t. The primary use of this class is to convert to other color objects.
|
||||
|
||||
**NOTE:** HtmlColor has no concept of W channels. It can be converted to RGB, but when converted to RGBW, RGBWW, and RGBWWW the W channels will always be empty.
|
||||
|
||||
Below is an example that will create a RgbColor with the Html color value for yellow.
|
||||
```
|
||||
RgbColor yellow( HtmlColor( 0xffff00 ) );
|
||||
|
Reference in New Issue
Block a user