FastLED 3.9.15
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 539 of file hsv2rgb.cpp.hpp.

539 {
540 for (int i = 0; i < numLeds; ++i) {
541 hsv2rgb_fullspectrum(phsv[i], prgb[i]);
542 }
543}
void hsv2rgb_fullspectrum(const CHSV &hsv, CRGB &rgb)
Converts an HSV value to RGB using the algorithm from here: https://en.wikipedia.org/wiki/HSL_and_HSV...

References hsv2rgb_fullspectrum().

+ Here is the call graph for this function: