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

◆ operator-=()

FASTLED_FORCE_INLINE CRGB & CRGB::operator-= ( const CRGB & rhs)

Subtract one CRGB from another, saturating at 0x00 for each channel.

Definition at line 33 of file crgb.hpp.

34{
35 r = fl::qsub8( r, rhs.r);
36 g = fl::qsub8( g, rhs.g);
37 b = fl::qsub8( b, rhs.b);
38 return *this;
39}
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: