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

◆ operator*=()

FASTLED_FORCE_INLINE CRGB & CRGB::operator*= ( fl::u8 d)

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

Definition at line 64 of file crgb.hpp.

65{
66 r = fl::qmul8( r, d);
67 g = fl::qmul8( g, d);
68 b = fl::qmul8( b, d);
69 return *this;
70}
InputGamut g
Definition rgbw.h:125

References CRGB(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, and fl::g.

+ Here is the call graph for this function: