[comp.sys.sun] Sunview colors, which do you use/like?

jww@uunet.uu.net (Jeff Wolford) (12/30/90)

I am a new user of Sunview, what text background/forground color
combinations do you like:  What are nice to read ?

My favorites so far are:

	Background:		Forground:
	Blue: 22 22 170 	Yellow: 238 238 0
	Blue: 22 22 170		Lt Blue: 0 255 255
	Grey: 85 85 85		White: 255 255 255

[[Ed's Note: I like bg green, fg violet and root yellow :) :) -bdg]]

QUESTION: Border Colors ?

Is there a way to set the border color seperate from the forground color
(text) of the window.... (i.e.) use blue background, text is yellow, and
have the window header be in black background and text in yellow....

Jeff Wolford		uunet!cpqhou!jww

ziegast@eng.umd.edu (Eric W. Ziegast) (01/02/91)

In article <980@brchh104.bnr.ca> (Jeff Wolford) writes:
>I am a new user of Sunview, what text background/forground color
>combinations do you like:  What are nice to read ?

I'm sure that you'll get either a zillion responses or none at all.  Each
person has their own individual taste for color.  I prefer pastels myself.
I remember a chart in the Commodore 64 (ack!) Reference Guide which
pointed out good and bad combinations of foreground and background colors
for readability like (red on blue is bad, yellow on black is good).  If
you're red/green color blind, you might want to avoid red on green. :-)
I'm sure that out there in the standards-definition books, like for SAA or
MS-Windows, they will probably mention what colors and color combinations
are better than others.

As a rule of thumb, dark on light, light on dark are good for reading;
dark on dark, light on light are bad.

It's all up to you.  Half of the fun of editing GUI defaults is going
through different color combinations.

harry@neuron6.jpl.nasa.gov (Harry Langenbacher) (01/17/91)

I like to use random colors, originally from "Hank Grebe's contribution to
SUG88 software collection", and hacked on by me.

#include <stdio.h>
#include <time.h>
main (  )
{
register int x , Br , Bg , Bb ;
srandom(time(0));
do
 {
  Br=random()&240;if(Br>160)Br=160;
  Bg=random()&120;
  Bb=random()&240;if(Bb>208)Bb=208;
  x=31*Br+35*Bg+22*Bb;
 }
while((x>8000)||(x<1111));
printf("-Wg -Wf %d %d %d -Wb %d %d %d",
(255-Br)|232,(255-Bg)|232,(255-Bb)|232,Br,Bg,Bb);
}

and use it like this:
textedit `randomcolors`&
cmdtool `randomcolors` &

Works for xview too !
.openwin-menu: "Calculator" exec $OPENWINHOME/bin/xview/calctool `randomcolors`

Fool around with any of the integers (color quantizing masks, max-colors,
max-brightnesses, min-brightnesses, color brightness evaluation weights,
foreground brightening bits) to get different sets of colors.

Harry Langenbacher 818-354-9513 harry%neuron6@jpl-mil.jpl.nasa.gov
Neuroprocessing & Analog Computing Devices
JPL,  M/S 302-231, 4800 Oak Grove Dr, Pasadena CA 91109