colors                 package:base                 R Documentation

_C_o_l_o_r _N_a_m_e_s

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

     Returns the built-in color names which R knows about.

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

     colors()

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

     These color names can be used with a `col=' specification in
     graphics functions.

     An even wider variety of colors can be created with primitives
     `rgb' and `hsv' or the derived `rainbow', `heat.colors', etc.

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

     A character vector containing all the built-in color names.

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

     `palette' for setting the ``palette'' of colors for
     `par(col='<num>`)'; `rgb', `hsv', `gray'; `rainbow' for a nice
     example; and `heat.colors', `topo.colors' for images.

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

     str(colors())

