What is the best way to define a color palette? I have this:
danielPalette[0] = CRGB::Aqua;
danielPalette[4] = CRGB::Blue;
danielPalette[8] = CRGB::Green;
danielPalette[12] = CRGB::White;
However I don’t want all the area in between to be black. I want the areas in between to fade between the colors instead of just being black. How can I accomplish this? Thanks! Great library.
@Daniel_Heppner - What you are looking for is gradient color palette. Check out:
Also, use the Search Community box on the left of this web page and try the search term: gradient palette.
@Ken_White Hm, yes, but I’d like to be able to define them using CRGB values and dynamically while the program is running.
Have you looked at the blend functions yet? They will blend smoothly between colors and/or palettes.