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

◆ UpscalePalette() [6/6]

void fl::UpscalePalette ( const class CRGBPalette32 & srcpal32,
class CRGBPalette256 & destpal256 )

Definition at line 995 of file colorutils.cpp.

996 {
997 for (int i = 0; i < 256; ++i) {
998 destpal256[(fl::u8)(i)] = ColorFromPalette(srcpal32, i);
999 }
1000}
unsigned char u8
Definition int.h:17
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType)

References ColorFromPalette().

+ Here is the call graph for this function: