This commit is contained in:
Makuna committed 2016-04-16 12:52:21 -07:00
1 parent d3094d782b
commit c801d09644
20 files changed
+1150 -47

No files matched your search

+13
View File
@@ -28,6 +28,19 @@ License along with NeoPixel. If not, see
#include "HslColor.h"
#include "HsbColor.h"
#include "RgbwColor.h"
#include "HtmlColor.h"
RgbwColor::RgbwColor(const HtmlColor& color)
{
uint32_t temp = color.Color;
B = (temp & 0xff);
temp = temp >> 8;
G = (temp & 0xff);
temp = temp >> 8;
R = (temp & 0xff);
temp = temp >> 8;
W = (temp & 0xff);
};
RgbwColor::RgbwColor(const HslColor& color)
{