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

◆ napplyGamma_video() [1/4]

CRGB & napplyGamma_video ( CRGB & rgb,
float gamma )

Destructively applies a gamma adjustment to a color.

Parameters
rgbthe color to apply an adjustment to (modified in place)
gammathe gamma value to apply

Definition at line 1426 of file colorutils.cpp.

1427{
1428 rgb = applyGamma_video( rgb, gamma);
1429 return rgb;
1430}
uint8_t applyGamma_video(uint8_t brightness, float gamma)
Applies a gamma adjustment to a color channel.

References applyGamma_video().

+ Here is the call graph for this function: