FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ UpscalePalette() [3/6]

void fl::UpscalePalette ( const class CHSVPalette32 & srcpal32,
class CHSVPalette256 & destpal256 )

Definition at line 1001 of file colorutils.cpp.

1002 {
1003 for (int i = 0; i < 256; ++i) {
1004 destpal256[(uint8_t)(i)] = ColorFromPalette(srcpal32, i);
1005 }
1006}
CRGB ColorFromPalette(const CRGBPalette16 &pal, uint8_t index, uint8_t brightness, TBlendType blendType)

References ColorFromPalette().

+ Here is the call graph for this function: