Hi All, I am trying to fade to white THEN fade from white to

Hi All,

I am trying to fade to white THEN fade from white to light yellow (250,250,210) then to light pink then back to white.

Is there a simple way to go from color to color that I am missing, my initial try was with 3 for loops but that is not looking right

Try having a look at the blend function. This example might help:

@Andrew_Tuline thanks but i have no idea how to plug a color like my light pink into the clr1 or clr 2 variables :confused:

could you please demonstrate how i would do this with like a light yellow to a light pink, that would help me figure the rest out

Have a look at the pixel reference at:

Might also have a look at gradient color palettes.

Also from my notes . . (all this takes time to experiment with):

// Blend
leds[i] = blend(CRGB::Red, CRGB::Blue, sin8(mysine));

nblend(leds[0], newcolour, 128); // newcolor is a Colour, either RGB or HSV
nblend(leds[0], CHSV(color, 255,255), 128); // newcolor is a Colour, either RGB or HSV
nblend(led[0], CRGB(0,50,0),255,255);