In This Topic
r,g,b values are from 0 to 1 h = [0,360], s = [0,1], v = [0,1] if s == 0, then h = -1(undefined)
Syntax
'Declaration
Public Shared Sub RGBtoHSV( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByRef As System.Single, _
ByRef As System.Single, _
ByRef As System.Single _
)
public static void RGBtoHSV(
System.float ,
System.float ,
System.float ,
out System.float ,
out System.float ,
out System.float
)
Parameters
- r
- g
- b
- h
- s
- v
See Also