Skip to contents

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

Usage

color_to_hsv(color)

Arguments

color

A color.

Value

A numeric vector of length 3

Note

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

Vector3 ColorToHSV(Color color);

Examples

color_to_hsv("red")
#> x y z 
#> 0 1 1