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

◆ blend()

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

Definition at line 60 of file colorutils.cpp.

60 {
61 CRGB nu(p1);
62 nblend(nu, p2, amountOfP2);
63 return nu;
64}
CRGB & nblend(CRGB &existing, const CRGB &overlay, fract8 amountOfOverlay)
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:55

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

+ Here is the caller graph for this function: