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

◆ CRGBPalette256() [13/17]

CRGBPalette256::CRGBPalette256 ( const CRGB & c1)
inline

Create palette filled with one color.

Parameters
c1the color to fill the palette with

Definition at line 1916 of file colorutils.h.

1917 {
1918 fill_solid( &(entries[0]), 256, c1);
1919 }
CRGB entries[256]
the color entries that make up the palette
void fill_solid(struct CRGB *targetArray, int numToFill, const struct CRGB &color)
Fill a range of LEDs with a solid color.

References entries, and fill_solid().

+ Here is the call graph for this function: