def HSVtoRGB(HSVcol):
    """ Convert HSVcol=(H,S,V) color data to RGB(R,G,B) color data

    :param lst HSVcol: [H(float),S(float),V(float)]
    :return: RGBcol(lst) - [R(int),G(int),B(int)], int(0-255)
    :note: H:Hue, S:Saturation,Value.Lightness,Brightness). http://en.wikipedia.org/wiki/HSL_and_HSV
    """
    # H:Hue, S:Saturation,Value.Lightness,Brightness)
    # H:Hue, S:Saturation,Value.Lightness,Brightness)
    # H:0-359(360=0), S:0-1; V:0-1
    # reference: http://en.wikipedia.org/wiki/HSL_and_HSV    
    c=255.0; R=0; G=0; B=0
    H=HSVcol[0]; S=HSVcol[1]; V=HSVcol[2]
    Hi=int((H/60.0) % 6.0)  # residue
    f=H/60.0-int(H/60); p=V*(1.0-S); q=V*(1.0-f*S); t=V*(1.0-(1.0-f)*S)
    if S != 0:
        if Hi == 0: R=V; G=t; B=p
        if Hi == 1: R=q; G=V; B=p
        if Hi == 2: R=p; G=V; B=t
        if Hi == 3: R=p; G=q; B=V
        if Hi == 4: R=t; G=p; B=V        
        if Hi == 5: R=V; G=p; B=q
    R=int(c*R); G=int(c*G); B=int(c*B)
    RGBcol=[R,G,B]        
    return RGBcol