9#include "platforms/is_platform.h"
12#ifndef FASTLED_HD_COLOR_MIXING
15#define FASTLED_HD_COLOR_MIXING 0
17#define FASTLED_HD_COLOR_MIXING 1
49#if defined(FASTLED_HSV_CONVERSION_SPECTRUM)
51#elif defined(FASTLED_HSV_CONVERSION_FULL_SPECTRUM)
53#elif defined(FASTLED_HSV_CONVERSION_RAINBOW)
63#if defined(FASTLED_HSV_CONVERSION_SPECTRUM)
65#elif defined(FASTLED_HSV_CONVERSION_FULL_SPECTRUM)
67#elif defined(FASTLED_HSV_CONVERSION_RAINBOW)
Defines the hue, saturation, and value (HSV) pixel struct.
FASTLED_FORCE_INLINE void hsv2rgb_dispatch(const CHSV *phsv, CRGB *prgb, int numLeds)
HSV conversion function selection based on compile-time defines This allows users to configure which ...
Defines the 8-bit red, green, and blue (RGB) pixel type in the fl namespace.
CRGB hsv2rgb_spectrum(const CHSV &hsv)
Inline version of hsv2rgb_spectrum which returns a CRGB object.
CRGB hsv2rgb_rainbow(const CHSV &hsv)
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...
Functions to convert from the HSV colorspace to the RGB colorspace.
#define FASTLED_FORCE_INLINE
Representation of an 8-bit RGB pixel (Red, Green, Blue)