>wowhelm_
~/forever/addon-api/function/C_ColorUtil.ConvertRGBToHSV

C_ColorUtil.ConvertRGBToHSV

documented function · ColorUtil
C_ColorUtil.ConvertRGBToHSV(rgbR, rgbG, rgbB) : hsvH, hsvS, hsvV

Converts an unpacked RGB color to HSV. For achromatic inputs, the returned hue will be -1.

──ARGUMENTS
rgbR
number
rgbG
number
rgbB
number
──RETURNS
hsvH
number
hsvS
number
hsvV
number
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.