HtmlColor

This commit is contained in:
Makuna
2016-03-05 18:50:23 -08:00
parent 6eba5a9615
commit c7b07b43cd
9 changed files with 96 additions and 8 deletions
+1 -1
View File
@@ -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;