Version: 2017.2
public static void RGBToHSV (Color rgbColor, out float H, out float S, out float V);

Parameters

rgbColor An input color.
H Output variable for hue.
S Output variable for saturation.
V Output variable for value.

Description

Calculates the hue, saturation and value of an RGB input color.