renderbug-cpp/src/colors.h

11 lines
179 B
C
Raw Normal View History

2019-05-10 05:17:29 +00:00
#pragma once
2021-03-29 08:10:55 +00:00
#include <FastLED.h>
2019-05-10 05:17:29 +00:00
typedef struct ColorInfo {
const char *name;
2021-03-29 08:10:55 +00:00
CRGB rgb;
2019-05-10 05:17:29 +00:00
} ColorInfo;
ColorInfo colorForName(const char *name);
2021-03-28 01:19:55 +00:00
const ColorInfo* allColors();