XCOLORS(1) UNIX Programmer's Manual XCOLORS(1) NAME xcolors - X window system color database display SYNOPSIS xcolors [ option ] ... DESCRIPTION _x_c_o_l_o_r_s displays the colors defined in _X window system color database. _x_c_o_l_o_r_s creates a window in which each color in the database is displayed along with its name and hexade- cimal rgb representation. The colors are roughly sorted by color type. The mouse is used to change the colors of the text, border and background by placing the cursor on the color desired and clicking the left, middle or right button. _x_c_o_l_o_r_s understands the following options: -bd _c_o_l_o_r Specify the border color; black is the default. -bg _c_o_l_o_r Specify the background color; black is the default. -bw _p_i_x_e_l_s Specify the width in pixels of the border around the _x_c_o_l_o_r_s window. The default value is 3 pixels. -fg _c_o_l_o_r Specify the text color; white is the default. -fn _f_o_n_t_n_a_m_e The text will be displayed in the specified font (if none is specified, this defaults to 6x10). =_g_e_o_m_e_t_r_y The xcolors window is created with the specified size and location determined by the supplied geometry specification. See _X(_1) for a full expla- nation. [_h_o_s_t]:[_d_i_s_p_l_a_y] Normally, _x_c_o_l_o_r_s gets the host and display number to use from the environment variable ``DISPLAY''. Either or both can be specified with this option. _h_o_s_t specifies which machine to create the _x_c_o_l_o_r_s window on, and _d_i_s_p_l_a_y specifies the display number. For example, ``hoser:0'' creates an _x_c_o_l_o_r_s on display 0 on machine hoser. Either value can be defaulted by omission but ``:'' is necessary to specify one or both. Printed 1/10/87 1 June 1986 1 XCOLORS(1) UNIX Programmer's Manual XCOLORS(1) X DEFAULTS Background Set the background color. BodyFont Set the text font. Highlight Set the text color. BorderWidth Set the border width. BorderColor Set the border color. ENVIRONMENT DISPLAY - to get the default host and display number. FILES /usr/lib/rgb.txt SEE ALSO X(1), xwm(1), X(8C) DIAGNOSTICS Unable to open display or create window. Unable to query window for dimensions. Various X errors. RESTRICTIONS _x_c_o_l_o_r_s will fail if there are fewer colors available than there are color entries in the database. AUTHOR John Tonry Printed 1/10/87 1 June 1986 2