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

◆ operator*() [1/6]

FASTLED_FORCE_INLINE CRGB fl::operator* ( const CRGB & p1,
u8 d )

Multiply each of the channels by a constant, saturating each channel at 0xFF.

Definition at line 198 of file crgb.hpp.

199{
200 return CRGB( qmul8( p1.r, d),
201 qmul8( p1.g, d),
202 qmul8( p1.b, d));
203}
fl::CRGB CRGB
Definition video.h:15

References FASTLED_FORCE_INLINE, and FL_NOEXCEPT.