diff --git a/FAQ.md b/FAQ.md index 5646c6f..54e6624 100644 --- a/FAQ.md +++ b/FAQ.md @@ -36,12 +36,12 @@ NeoPixelBus* Strip = NULL; ### How can I convert Hsl to Rgb and/or just set the colors with Hsl? There is a HslColor object that will automatically convert to any of the other color object by just assigning them. ``` - HslColor myColor(244.0f, 1.0f, 0.5f); + HslColor myColor(0.244f, 1.0f, 0.5f); RgbColor rgbOfMyColor = myColor; ``` Further, all the color objects can be used by the SetPixelColor(). ``` - HslColor myColor(244.0f, 1.0f, 0.5f); + HslColor myColor(0.244f, 1.0f, 0.5f); strip.SetPixelColor(0, myColor); ``` The only limitation is that the RgbwColor can not be used directly with a NeoPixelBus defined with a 3 element feature like NeoRgbFeature or NeoGrbFeature. This is due to the loss of color that could happen. So the following will create a compile error.