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

◆ UpscalePalette() [4/6]

void fl::UpscalePalette ( const class CRGBPalette16 & srcpal16,
class CRGBPalette256 & destpal256 )

Definition at line 962 of file colorutils.cpp.

963 {
964 for (int i = 0; i < 256; ++i) {
965 destpal256[(uint8_t)(i)] = ColorFromPalette(srcpal16, i);
966 }
967}
CRGB ColorFromPalette(const CRGBPalette16 &pal, uint8_t index, uint8_t brightness, TBlendType blendType)

References ColorFromPalette().

+ Here is the call graph for this function: