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

◆ operator%()

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

Scale using CRGB::nscale8_video()

Definition at line 201 of file crgb.hpp.

202{
203 CRGB retval( p1);
204 retval.nscale8_video( d);
205 return retval;
206}
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:55

References FASTLED_FORCE_INLINE, and CRGB::nscale8_video().

+ Here is the call graph for this function: