EditorGUIUtility.RGBToHSV Manual     Reference     Scripting  
Scripting > Editor Classes > EditorGUIUtility
EditorGUIUtility.RGBToHSV

static function RGBToHSV (rgbColor : Color, out H : float, out S : float, out V : float) : void

Parameters

NameDescription
rgbColor the color to convert from.
H The hue of the color is written to this variable.
S The saturation of the color is written to this variable.
V The value of the color is written to this variable. See Also: HSVToRGB

Description

Convert a color from RGB to HSV color space.

All values are in the 0-1 range