HSV                package:colorspace                R Documentation

_C_r_e_a_t_e _H_S_V _C_o_l_o_r_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function creates colors of class HSV; a subclass of the
     virtual ``color'' class.

_U_s_a_g_e:

     HSV(H, S, V, names)

_A_r_g_u_m_e_n_t_s:

   H,S,V: These arguments give the hue, saturation and value of the
          colors. The values can be provided in separate 'H', 'S' and
          'V' vectors or in a three-column matrix passed as 'H'. 

   names: A vector of names for the colors (by default the row names of
          'H' are used).

_D_e_t_a_i_l_s:

     This function creates colors in the HSV color space which
     corresponds to the standard sRGB color space (IEC standard 61966).
     The hues should lie between between 0 and 360, and the saturations
     and values should lie between 0 and 1.

_V_a_l_u_e:

     An object of class ``HSV'' which inherits from class ``color.''

_A_u_t_h_o_r(_s):

     Ross Ihaka

_R_e_f_e_r_e_n_c_e_s:

     <URL: www.srgb.com>

_S_e_e _A_l_s_o:

     'RGB', 'XYZ', 'LAB', 'polarLAB', 'LUV', 'polarLUV'.

_E_x_a_m_p_l_e_s:

     # A rainbow of full-intensity hues
     hsv = HSV(seq(0, 360, length=13)[-13], 1, 1)

