This is a Unix script to show you what all these colours correspond to on your display. It takes a file of RGB colour names and creates a file of O draw commands that can be later displayed with the draw command.
Example:
% dispcol rgb.txt \verb|>| rgb_obj.o
% cat rgb_obj.o
begin coltst
text_colour alice_blue
text -10.0 5.8 0.0 alice_blue
text_colour aliceblue
text -10.0 5.6 0.0 aliceblue
text_colour antique_white
text -10.0 5.4 0.0 antique_white
[Output edited]
text_colour yellow
text 0.5 -1.8 0.0 yellow
text_colour yellow_green
text 0.5 -2.0 0.0 yellow_green
text_colour yellowgreen
text 0.5 -2.2 0.0 yellowgreen
end_object
%
In O you would use the 2 files produced in the above examples by issuing the following commands after starting O:
O> read rgb.o O> dra rgb_obj.o O> cen_xyz 0. 0. 0.
There should be a text object drawn with different colours.