|
FastLED 3.9.15
|
Functions to convert from the HSV colorspace to the RGB colorspace.
Definition in file hsv2rgb.h.
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | __INC_HSV2RGB_H |
| #define | HUE_MAX 191 |
| Max hue accepted for the hsv2rgb_raw() function. | |
| #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. | |
Functions | |
| CRGB | hsv2rgb_fullspectrum (const struct CHSV &hsv) |
| version of hsv2rgb_fullspectrum which returns a CRGB object. | |
| void | hsv2rgb_fullspectrum (const struct CHSV &hsv, struct CRGB &rgb) |
| Converts an HSV value to RGB using the algorithm from here: https://en.wikipedia.org/wiki/HSL_and_HSV#HSV_to_RGB_alternative By Shawn Silverman. | |
| void | hsv2rgb_fullspectrum (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
| CRGB | hsv2rgb_rainbow (const struct CHSV &hsv) |
| void | hsv2rgb_rainbow (const struct CHSV &hsv, struct CRGB &rgb) |
| void | hsv2rgb_rainbow (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
| void | hsv2rgb_raw (const struct CHSV &hsv, struct CRGB &rgb) |
| void | hsv2rgb_raw (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
| CRGB | hsv2rgb_spectrum (const struct CHSV &hsv) |
| Inline version of hsv2rgb_spectrum which returns a CRGB object. | |
| void | hsv2rgb_spectrum (const struct CHSV &hsv, struct CRGB &rgb) |
| Convert an HSV value to RGB using a mathematically straight spectrum. | |
| void | hsv2rgb_spectrum (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
| CHSV | rgb2hsv_approximate (const CRGB &rgb) |
| Recover approximate HSV values from RGB. | |