[comp.windows.x] Mixing a custom color utility needed.

kay@iccgcc.decnet.ab.com (08/30/90)

I'm starting to develop a user interface in X and Motif for an inhouse
project.  I'd like to make the color-scheme as pleasing to the eye as
possible.  My question is, is there a utility somewhere to let you *mix*
the red, blue and green on the screen and then obtain the values for
defining that color in my code?  There has to be a better way than trial
and error.

--
Jim Kay
Allen-Bradley Co.
Highland Hts., Ohio
kay@iccgcc.decnet.ab.com

mikey@eukanuba.wpd.sgi.com (Mike Yang) (08/31/90)

In article <693.26dcc8fe@iccgcc.decnet.ab.com>, kay@iccgcc.decnet.ab.com
writes:
|> I'm starting to develop a user interface in X and Motif for an inhouse
|> project.  I'd like to make the color-scheme as pleasing to the eye as
|> possible.  My question is, is there a utility somewhere to let you *mix*
|> the red, blue and green on the screen and then obtain the values for
|> defining that color in my code?  There has to be a better way than trial
|> and error.

Try my sample color picker widget applications, cpicker and pixedit.
Both allow you to modify the colormap in realtime by adjust RGB, HSV,
or CMY values.  Cpicker lets you select the colormap cell to modify,
while pixedit lets you select the screen pixel to modify.

I believe I've made things work with the R4 Xlib and Xaw widget set
(they were initially developed for R3).

The tar file is: expo.lcs.mit.edu:~ftp/contrib/cpicker.tar.Z.

-----------------------------------------------------------------------
                 Mike Yang        Silicon Graphics, Inc.
               mikey@sgi.com           415/335-1786