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

◆ UpscalePalette() [3/6]

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

Definition at line 1002 of file colorutils.cpp.

1003 {
1004 for (int i = 0; i < 256; ++i) {
1005 destpal256[(fl::u8)(i)] = ColorFromPalette(srcpal32, i);
1006 }
1007}
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: