FastLED 3.9.7
|
Functions to convert from the HSV colorspace to the RGB colorspace.
Definition in file hsv2rgb.h.
Go to the source code of this file.
Macros | |
#define | HUE_MAX_RAINBOW 255 |
Max hue accepted for the hsv2rgb_rainbow() function. | |
#define | HUE_MAX_SPECTRUM 255 |
Max hue accepted for the hsv2rgb_spectrum() function. | |
#define | HUE_MAX 191 |
Max hue accepted for the hsv2rgb_raw() function. | |
Functions | |
void | hsv2rgb_rainbow (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
Forward declaration of hsv2rgb_rainbow here, to avoid circular dependencies. | |
void | hsv2rgb_spectrum (const struct CHSV &hsv, struct CRGB &rgb) |
Convert an HSV value to RGB using a mathematically straight spectrum. | |
CRGB | hsv2rgb_spectrum (const struct CHSV &hsv) |
Inline version of hsv2rgb_spectrum which returns a CRGB object. | |
void | hsv2rgb_spectrum (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
Convert an HSV value to RGB using a mathematically straight spectrum. | |
void | hsv2rgb_raw (const struct CHSV &hsv, struct CRGB &rgb) |
Convert an HSV value to RGB using a mathematically straight spectrum. | |
void | hsv2rgb_raw (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
Convert an HSV value to RGB using a mathematically straight spectrum. | |
CHSV | rgb2hsv_approximate (const CRGB &rgb) |
Recover approximate HSV values from RGB. | |