Simstim

VEX Dictionary / rgbtohsv

rgbtohsv

Converts an RGB color to HSV, with the hue component scaled into the 0 to 1 range.

group: convertcolorconvert

Available in every context

Usage

vector rgbtohsv(vector rgb)
vector rgbtohsv(float r, float g, float b)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗