-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= X C O L M I X a color mixer for X-windows Karel Kubat (karel@icce.rug.nl) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Introduction Xcolmix is a color mixer, that enables you to mix your own colors in order to determine three values (the R/G/B code, or red-green-blue mix) of a color. You can use those colors 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' colors. Obtaining xcolmix You can ftp the xcolmix package from the site ftp.icce.rug.nl, directory /pub/unix, file xcolmix-X.YY.tar.gz, where X.YY stands for a version number, e.g., 1.00. The archive extracts using tar and spills into a subdirectory xcolmix. It is suggested that you extract the archive in a `sources' subdirectory, say /usr/local/src: cd /usr/local/src tar xvzf ...../xcolmix-X.YY.tar.gz cd xcolmix If you're on a Linux system using XFree 3, you can use the precompiled binary in bin-linux. Just install bin-linux/xcolmix into one of your program directories and you're all set to go. If you wish to compile xcolmix anew, first get the XForms library and headers. See the Makefile in the src subdirectory, extracted from the archive. Then, edit the Makefile following the directions stated therein and `make install'. Using xcolmix Xcolmix lets you define a separate background and a foreground color for a part of the mixer window (the logo). Use this logo to, e.g., compare whether a particular text color looks good on a particular background. Use the `F/G' switch to switch between defining the foreground or background. Then, use the three silders labelled `red', `green' and `blue' to change the color. The button `lookup' starts a second window, with a browser showing the system color database. The default database name is /usr/lib/X11/rgb.txt, though you can overrule this filename with a file argument in the command that starts up xcolmix. Copyright I reserve the copyright to xcolmix. If you have useful additions, please mail me with your requests or source diffs and let me make a new distribution. Don't hack the sources and redistribute your own: I hate encountering `my' programs with a version number that I don't even know of. However, you are permitted to distribute xcolmix, provided that you (a) distribute it with the full sources, and (b) that you leave this documentation and copyright notice intact. Copyright policy: MegaHard (who wants a Microsoft?) PostcardWare (send me a postcard from abroad if you like it) but really: GPL, see the file COPYING.