Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xcolmix(1) [debian man page]

XCOLMIX(1)						      General Commands Manual							XCOLMIX(1)

NAME
xcolmix - an RGB colour mixer SYNOPSIS
xcolmix [-display host:dpy] [-name appname] [-visual class] [-depth d] [-private] [-shared] [-stdcmap] [-debug d] [-sync] rgb-database-file The rgb-database-file is the file which holds the X-windows colour definitions, when absent: /etc/X11/rgb.txt is used. DESCRIPTION
This manual page documents briefly the xcolmix, command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. xcolmix is a colour mixer that enables you to mix your own colours in order to determine three values (the R/G/B code, or red-green-blue mix) of a colour. You can use those colours to, e.g., define the foreground or background of X applications which support it. Furthermore, xcolmix lets you retrieve RGB values from the X system's database of `predefined' colours. xcolmix is non longer actively maintained upstream. If you would like to take it over, talk to the author: Karel Kubat <karel@icce.rug.nl>. OPTIONS
xcolmix is built with the XForms Graphical User Interface Toolkit for X, and hence supports a number of flags which are interpreted by XForms. The flags must be stated before any file arguments, and are: -display host:dpy defines the X display. -name appname defines the application name (default is xcolmix). -visual class TrueColor, PseudoColor etc... -depth d visual depth in bits -private forces a private colourmap. -shared forces a shared colourmap. -stdcmap forces a standard colourmap. -debug l prints debugging information, l is the level. -sync forces synchronous mode. USING XCOLMIX
Xcolmix lets you define a separate background and a foreground colour for a part of the mixer window (the logo). Use this logo to, e.g., compare whether a particular text colour looks good on a particular background. Use the `foreground / background' buttons to select between the foreground or the background. Then, use the three silders labelled `red', `green' and `blue' to change the colour. The button `lookup' starts a second window, with a browser showing the system colour database. The default database name is /etc/X11/rgb.txt, though you can overrule this filename with a file argument in the command that starts up xcolmix. AUTHOR
Karel Kubat <karel@icce.rug.nl> This manual page was written by Peter S Galbraith <psg@debian.org>, for the Debian GNU/Linux system (but may be used by others). XCOLMIX(1)

Check Out this Related Man Page

Graph::colour(3)					User Contributed Perl Documentation					  Graph::colour(3)

NAME
GD::Graph::colour - Colour manipulation routines for use with GD::Graph SYNOPSIS
use GD::Graph::colour qw(:colours :lists :files :convert); DESCRIPTION
The GD::Graph::colour package provides a few routines to work with colours. The functionality of this package is mainly defined by what is needed, now and historically, by the GD::Graph modules. FUNCTIONS
colour_list( number of colours ) Returns a list of number of colours colour names known to the package. Exported with the :lists tag. sorted_colour_list( number of colours ) Returns a list of number of colours colour names known to the package, sorted by luminance or hue. NB. Right now it always sorts by luminance. Will add an option in a later stage to decide sorting method at run time. Exported with the :lists tag. _rgb( colour name ) Returns a list of the RGB values of colour name. if the colour name is a string of the form that is acceptable to the hex2rgb sub, then the colour will be added to the list dynamically. Exported with the :colours tag. _hue( R,G,B ) Returns the hue of the colour with the specified RGB values. Exported with the :colours tag. _luminance( R,G,B ) Returns the luminance of the colour with the specified RGB values. Exported with the :colours tag. add_colour(colourname => [$r, $g, $b]) or add_colour('#7fe310') Self-explanatory. Exported with the :colours tag. rgb2hex($red, $green, $blue) hex2rgb('#7fe310') These functions translate a list of RGB values into a hexadecimal string, as is commonly used in HTML and the Image::Magick API, and vice versa. Exported with the :convert tag. read_rgb( file name ) Reads in colours from a rgb file as used by the X11 system. Doing something like: use GD::Graph::bars; use GD::Graph::colour; GD::Graph::colour::read_rgb("rgb.txt") or die "cannot read colours"; Will allow you to use any colours defined in rgb.txt in your graph. Exported with the :files tag. PREDEFINED COLOUR NAMES
white, lgray, gray, dgray, black, lblue, blue, dblue, gold, lyellow, yellow, dyellow, lgreen, green, dgreen, lred, red, dred, lpurple, purple, dpurple, lorange, orange, pink, dpink, marine, cyan, lbrown, dbrown. AUTHOR
Martien Verbruggen <mgjv@tradingpost.com.au> Copyright GIFgraph: Copyright (c) 1995-1999 Martien Verbruggen. Chart::PNGgraph: Copyright (c) 1999 Steve Bonds. GD::Graph: Copyright (c) 1999 Martien Verbruggen. All rights reserved. This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
GD::Graph, GD::Graph::FAQ perl v5.12.1 2005-12-14 Graph::colour(3)
Man Page