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

◆ UpscalePalette() [1/6]

void fl::UpscalePalette ( const class CHSVPalette16 & srcpal16,
class CHSVPalette256 & destpal256 )

Definition at line 970 of file colorutils.cpp.

971 {
972 for (int i = 0; i < 256; ++i) {
973 destpal256[(fl::u8)(i)] = ColorFromPalette(srcpal16, i);
974 }
975}
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: