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

◆ CRGBPalette32() [11/18]

CRGBPalette32::CRGBPalette32 ( const CHSV & c1,
const CHSV & c2,
const CHSV & c3,
const CHSV & c4 )
inline

Create palette with four-color gradient.

Parameters
c1the starting color for the gradient
c2the first middle color for the gradient
c3the second middle color for the gradient
c4the end color for the gradient

Definition at line 1594 of file colorutils.h.

1595 {
1596 fill_gradient( &(entries[0]), 32, c1, c2, c3, c4);
1597 }
CRGB entries[32]
the color entries that make up the palette
void fill_gradient(T *targetArray, uint16_t startpos, CHSV startcolor, uint16_t endpos, CHSV endcolor, TGradientDirectionCode directionCode=SHORTEST_HUES)
Fill a range of LEDs with a smooth HSV gradient between two HSV colors.
Definition colorutils.h:189

References entries, and fill_gradient().

+ Here is the call graph for this function: