Updated Rgb48Color object API (markdown)

Michael Miller
2023-04-20 10:30:58 -07:00
parent c71d3d1f40
commit 1e5ae7cef2

@@ -32,6 +32,14 @@ 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.
> * _brightness_ - brightness value where (0) = black, (32767) = gray, (65535) = white
### _explicit_ Rgb48Color(RgbwColor color);
Construct a Rgbw48Color using RgbwColor, converting the R,G,B values and ignoring the W value. Due to the loss of information of the W value, this constructor is marked explicit so it will not automatically be used for conversion.
> * _color_ - a RgbwColor object.
### _explicit_ Rgb48Color(Rgbw64Color color);
Construct a Rgbw48Color using Rgbw64Color, copying the R,G,B values and ignoring the W value. Due to the loss of information of the W value, this constructor is marked explicit so it will not automatically be used for conversion.
> * _color_ - a Rgbw64Color object.
### Rgb48Color(RgbColor color);
Construct a Rgbw48Color using RgbColor, converting the R,G,B values.
> * _color_ - a RgbColor object.