FastLED 3.10.6
Loading...
Searching...
No Matches

◆ operator/()

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

Divide each of the channels by a constant.

Definition at line 788 of file crgb.h.

789{
790 return CRGB( p1.r/d, p1.g/d, p1.b/d);
791}
fl::CRGB CRGB
Definition video.h:18

References FASTLED_FORCE_INLINE, and FL_NO_EXCEPT.