Applies a gamma adjustment to a color.
- Parameters
-
orig | the color to apply an adjustment to |
gamma | the gamma value to apply |
- Returns
- copy of the CRGB object with gamma adjustment applied
Definition at line 1408 of file colorutils.cpp.
1409{
1414 return adj;
1415}
uint8_t applyGamma_video(uint8_t brightness, float gamma)
Applies a gamma adjustment to a color channel.
Representation of an RGB pixel (Red, Green, Blue)
References applyGamma_video().