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

◆ UpscalePalette() [4/6]

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

Definition at line 963 of file colorutils.cpp.

964 {
965 for (int i = 0; i < 256; ++i) {
966 destpal256[(fl::u8)(i)] = ColorFromPalette(srcpal16, i);
967 }
968}
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: