FastLED 3.9.15
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}

References CRGB(), FASTLED_FORCE_INLINE, and FL_NOEXCEPT.

+ Here is the call graph for this function: