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

◆ operator/()

FASTLED_FORCE_INLINE CRGB operator/ ( const CRGB & p1,
fl::u8 d )

Divide each of the channels by a constant.

Definition at line 853 of file crgb.h.

854{
855 return CRGB( p1.r/d, p1.g/d, p1.b/d);
856}
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:86

References FASTLED_FORCE_INLINE.