mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-10 06:14:26 +02:00
Updated Rgb48Color object API (markdown)
@@ -32,6 +32,10 @@ Constructs a Rgb48Color using Red, Green, and Blue color component values.
|
|||||||
Constructs a Rgb48Color using a single brightness value(0 - 65535). This works well for creating gray tone colors.
|
Constructs a Rgb48Color using a single brightness value(0 - 65535). This works well for creating gray tone colors.
|
||||||
> * _brightness_ - brightness value where (0) = black, (32767) = gray, (65535) = white
|
> * _brightness_ - brightness value where (0) = black, (32767) = gray, (65535) = white
|
||||||
|
|
||||||
|
### Rgb48Color(RgbColor color);
|
||||||
|
Construct a Rgbw48Color using RgbColor, converting the R,G,B values.
|
||||||
|
> * _color_ - a RgbColor object.
|
||||||
|
|
||||||
### Rgb48Color(HtmlColor color);
|
### Rgb48Color(HtmlColor color);
|
||||||
Construct a Rgb48Color using HtmlColor, converting the Html single value to Rgb component values
|
Construct a Rgb48Color using HtmlColor, converting the Html single value to Rgb component values
|
||||||
> * _color_ - an HtmlColor object
|
> * _color_ - an HtmlColor object
|
||||||
|
Reference in New Issue
Block a user