Universal gl-react contrast-saturation-brightness effect.
Props
children
(required): the content to contrast-saturation-brightness.contrast
: positive number.saturation
: positive number. values from 0.0 (grayscale) to 1.0 (identity) produces a color desaturation. Values higher than 1.0 produce a color saturation.brightness
: positive number.
in
contrast
,saturation
,brightness
props, 0.0 means 0% and 1.0 means 100%.
Usage Examples
var ContrastSaturationBrightness = ContrastSaturationBrightness;// or;
Grayscale
...
Some contrast and brightness
...