![](https://seccdn.libravatar.org/avatar/835ecb73a31bc3849b31f7a48a71b1e3.jpg?s=120&d=mm&r=g)
"op" == ois Pinard <Fran> writes:
Not quite what you are looking for, but it's a start... I used to have a tk script that would parse rgb.txt, and display all the colors in a scrolled window, but I cannot find it. This'll let you at least look at a single color. ericb #!/usr/bin/wish label .l -bd 10 -relief raised -width 50 -height 10 pack .l -side top -fill both -expand 1 cale .s1 -from 0 -to 255 -orient horizontal -variable red -command handle scale .s2 -from 0 -to 255 -orient horizontal -variable grn -command handle scale .s3 -from 0 -to 255 -orient horizontal -variable blu -command handle pack .s1 .s2 .s3 -fill both -expand 1 proc handle {useless } { global red grn blu .l configure -bg [format "\#%02x%02x%02x" $red $grn $blu] .l configure -text [format "\#%02x%02x%02x" $red $grn $blu] } op> "Paul W. Abrahams" <abrahams@valinet.com> writes:
Also, does anyone have a recommendation for a good program for viewing a chart of the colors in rgb.txt? I've tried xcolors, and it's pretty bad. Among other things, the display is too long for the screen.
op> I hardly imagine that any program will be able to usefully display all op> colours in a single screen, and show their names as well. I do not know op> `xcolors', but maybe a useful tool would allow clicking on one little op> colored square among many others packed on a single screen, and replicate op> that color in a wider area, while giving its name only then. op> There might be another thing to consider, also. If you use a limited number op> of bit-planes (8 is rather common), colours may be rendered approximatively. op> -- op> François Pinard http://www.iro.umontreal.ca/~pinard op> -- op> To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com op> For additional commands send e-mail to suse-linux-e-help@suse.com op> Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/