forked from Makuna/NeoPixelBus
HtmlColor
This commit is contained in:
@@ -28,7 +28,7 @@ License along with NeoPixel. If not, see
|
||||
#include "HslColor.h"
|
||||
|
||||
|
||||
HslColor::HslColor(RgbColor color)
|
||||
HslColor::HslColor(const RgbColor& color)
|
||||
{
|
||||
// convert colors to float between (0.0 - 1.0)
|
||||
float r = color.R / 255.0f;
|
||||
|
||||
Reference in New Issue
Block a user