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 224 of file crgb.hpp.

225{
226 CRGB retval( p1);
227 retval.nscale8_video( d);
228 return retval;
229}
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:54

References FASTLED_FORCE_INLINE, and CRGB::nscale8_video().

+ Here is the call graph for this function: