FastLED 3.9.15
|
CHSV blend | ( | const CHSV & | p1, |
const CHSV & | p2, | ||
fract8 | amountOfP2, | ||
TGradientDirectionCode | directionCode = SHORTEST_HUES ) |
Computes a new color blended some fraction of the way between two other colors.
p1 | the first color to blend |
p2 | the second color to blend |
amountOfP2 | the fraction of p2 to blend into p1 |
directionCode | the direction to travel around the color wheel |
Definition at line 424 of file colorutils.cpp.
References nblend().