Mr. Suspicious
05-21-2002, 04:03 AM
While I was making changes to my maps, I noticed that I actually didn't know which colors and which colornames I _could_ use. So I dove into the source (drawmap.cpp and map.cpp)
The following color names are possible to use:
grey
darkblue
darkgreen
darkcyan
darkred
darkmagenta
darkyellow
darkgray
white
blue
green
cyan
red
magenta
yellow
gray
Please note that: DarkYellow is not in the standard X11R6 rgb.txt file so its use should be discouraged.
I took the color scheme from the source and made a handy colorchart in .gif format, that helped me greatly in selecting the colors I wanted to use for my maps. Perhaps someone else will find it usefull aswell.
The following color names are possible to use:
grey
darkblue
darkgreen
darkcyan
darkred
darkmagenta
darkyellow
darkgray
white
blue
green
cyan
red
magenta
yellow
gray
Please note that: DarkYellow is not in the standard X11R6 rgb.txt file so its use should be discouraged.
I took the color scheme from the source and made a handy colorchart in .gif format, that helped me greatly in selecting the colors I wanted to use for my maps. Perhaps someone else will find it usefull aswell.