col2hex                package:gplots                R Documentation

_C_o_n_v_e_r_t _c_o_l_o_r _n_a_m_e_s _t_o _h_e_x _R_G_B _s_t_r_i_n_g_s

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

     Convert color names to hex RGB strings

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

     col2hex(cname)

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

   cname: Color name(s)

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

     Character vector giving the hex color code translation of the
     provided color names.

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

     Gregory R. Warnes

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

     'col2rgb', 'colors', 'rgb'

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

     col2hex(c("red","yellow","lightgrey"))

