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

◆ hsv2rgb_raw() [1/2]

void hsv2rgb_raw ( const CHSV & hsv,
CRGB & rgb )

Convert an HSV value to RGB using a mathematically straight spectrum.

See also
hsv2rgb_spectrum(const CHSV&, CRGB&)
Note
The hue is limited to the range 0-191 (HUE_MAX). This results in a slightly faster conversion speed at the expense of color balance.
Parameters
hsvCHSV struct to convert to RGB. Max hue supported is HUE_MAX
rgbCRGB struct to store the result of the conversion (will be modified)

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

28{
29 hsv2rgb_raw_C( hsv, rgb);
30}
void hsv2rgb_raw_C(const CHSV &hsv, CRGB &rgb)
HSV to RGB implementation in raw C, platform independent.

References hsv2rgb_raw_C().

Referenced by hsv2rgb_raw(), and hsv2rgb_spectrum().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: