FastLED 3.9.15
|
FASTLED_FORCE_INLINE CRGB & CRGB::nscale8 | ( | const CRGB & | scaledown | ) |
Scale down a RGB to N/256ths of its current brightness, using "plain math" dimming rules.
"Plain math" dimming rules means that the low light levels may dim all the way to 100% black.
Definition at line 122 of file crgb.hpp.
References CRGB(), FASTLED_FORCE_INLINE, and FUNCTION_SCALE8.