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

◆ operator-()

CRGB CRGB::operator- ( ) const
inlineconstexpr

Invert each channel.

Definition at line 359 of file crgb.h.

360 {
361 return CRGB(255 - r, 255 - g, 255 - b);
362 }
FASTLED_FORCE_INLINE CRGB()=default
Default constructor.

References CRGB().

+ Here is the call graph for this function: