84#define HUE_MAX_RAINBOW 255
111#define HUE_MAX_SPECTRUM 255
Defines the 8-bit red, green, and blue (RGB) pixel type in the fl namespace.
void hsv2rgb_spectrum(const CHSV &hsv, CRGB &rgb) FL_NO_EXCEPT
Convert an HSV value to RGB using a mathematically straight spectrum.
void hsv2rgb_fullspectrum(const CHSV &hsv, CRGB &rgb) FL_NO_EXCEPT
Converts an HSV value to RGB using the algorithm from here: https://en.wikipedia.org/wiki/HSL_and_HSV...
void hsv2rgb_raw(const CHSV &hsv, CRGB &rgb) FL_NO_EXCEPT
Convert an HSV value to RGB using a mathematically straight spectrum.
CHSV rgb2hsv_approximate(const CRGB &rgb) FL_NO_EXCEPT
Recover approximate HSV values from RGB.
void hsv2rgb_rainbow(const CHSV *phsv, CRGB *prgb, int numLeds) FL_NO_EXCEPT
Defines the hue, saturation, and value (HSV) pixel struct.
Representation of an 8-bit RGB pixel (Red, Green, Blue)
Representation of an HSV pixel (hue, saturation, value (aka brightness)).