FastLED 3.10.8
Loading...
Searching...
No Matches

◆ blend()

CRGB fl::blend ( const CRGB & p1,
const CRGB & p2,
fract8 amountOfP2 )
Examples
TwinkleFox.ino.

Definition at line 129 of file colorutils.cpp.hpp.

129 {
130 CRGB nu(p1);
131 nblend(nu, p2, amountOfP2);
132 return nu;
133}
CRGB & nblend(CRGB &existing, const CRGB &overlay, fract8 amountOfOverlay) FL_NO_EXCEPT
fl::CRGB CRGB
Definition crgb.h:25

Referenced by drawTwinkles(), fill_2dnoise16(), fill_2dnoise8(), fill_raw_2dnoise16into8(), loop(), and MyColorFromPaletteExtended().

+ Here is the caller graph for this function: