In windows that pop up when you choose Colour... from the Pen menu or any of the Paint commands in the World menu, you can see the following field:

Colour (0-1, name, or {r,g,b})

This means that you can specify here a colour in any of three ways:

• a grey value between 0 and 1:
a value of 0 means black, 1 means white, 0.5 means grey, 0.75 means silver, and so on.
• a colour name:
you can choose from Black, White, Red, Green, Blue, Yellow, Cyan, Magenta, Maroon, Lime, Navy, Teal, Purple, Olive, Pink, Silver, Grey, i.e. from any of the colours in the Pen menu. You can write these either with a capital (Red) or in lowercase (red).
• an RGB colour:
you can specify a red-green-blue value as three values between 0 and 1, enclosed within braces and separated by commas, e.g. {0.8,0.1,0.2} is something reddish.

Links to this page

© ppgb, December 15, 2009