Skip to contents

Get a Color from HSV values, hue \[0..360\], saturation/value \[0..1\].

Usage

color_from_hsv(hue, saturation, value)

Arguments

hue

A number.

saturation

A number.

value

A number.

Value

A color

Note

This function has been auto-generated from the following Raylib function definition:

Color ColorFromHSV(float hue, float saturation, float value);

See also

Examples

color_from_hsv(0.0, 0.0, 0.0)
#> color(r = 0, g = 0, b = 0, a = 255)