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

◆ operator/()

FASTLED_FORCE_INLINE CRGB operator/ ( const CRGB & p1,
uint8_t d )

Divide each of the channels by a constant.

Definition at line 721 of file crgb.h.

722{
723 return CRGB( p1.r/d, p1.g/d, p1.b/d);
724}
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:55

References FASTLED_FORCE_INLINE.