[]
        
(Showing Draft Content)

C1.WPF.ColorEx.RGBtoHSV

RGBtoHSV Method

RGBtoHSV(float, float, float, out float, out float, out float)

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)

Declaration
public static void RGBtoHSV(float r, float g, float b, out float h, out float s, out float v)
Parameters
Type Name Description
float r
float g
float b
float h
float s
float v