FastLED 3.10.8
Loading...
Searching...
No Matches

◆ hsv2rgb_fullspectrum() [3/3]

void hsv2rgb_fullspectrum ( const CHSV * phsv,
CRGB * prgb,
int numLeds )

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.

See also
hsv2rgb_fullspectrum(const CHSV&, CRGB&)
Parameters
phsvCHSV array to convert to RGB
prgbCRGB array to store the result of the conversion (will be modified)
numLedsthe number of array values to process

Definition at line 548 of file hsv2rgb.cpp.hpp.

548 {
549 for (int i = 0; i < numLeds; ++i) {
550 hsv2rgb_fullspectrum(phsv[i], prgb[i]);
551 }
552}
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...

References FL_NO_EXCEPT, and hsv2rgb_fullspectrum().

+ Here is the call graph for this function: