Get color with contrast correction, contrast values between -1.0f and 1.0f.
Usage
color_contrast(color, contrast)
Arguments
- color
A color.
- contrast
A number.
Note
This function has been auto-generated from the following Raylib function definition:
Color ColorContrast(Color color, float contrast);
Examples
color_contrast("red", 0.0)
#> color(r = 255, g = 0, b = 0, a = 255)