FastLED 3.9.15
Loading...
Searching...
No Matches

◆ hsv2rgb_fullspectrum() [2/3]

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.

Parameters
hsvCHSV struct to convert to RGB
rgbCRGB struct to store the result of the conversion (will be modified)