hls                   package:vcd                   R Documentation

_H_L_S _C_o_l_o_r _S_p_e_c_i_f_i_c_a_t_i_o_n

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

     Create a HLS color from specifying hue, luminance and saturation.

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

     hls(h = 1, l = 0.5, s = 1)

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

       h: hue value in [0, 1].

       l: luminance value in [0, 1].

       s: saturation value in [0, 1].

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

     HLS colors are a similar specification of colors as HSV colors,
     but using hue/luminance/saturation rather that
     hue/saturation/value.

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

     Achim Zeileis Achim.Zeileis@R-project.org

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

     'hsv', 'hcl'

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

     ## an HLS color wheel
     pie(rep(1, 12), col = sapply(1:12/12, function(x) hls(x)))

