Navigation:  Technical API Reference > General Interfaces and types > WPAT_codes >

Predefined Color Index Values

Previous pageReturn to chapter overviewNext page

The methods CurrAttr.ColorToNr and CurrAttr.NrToColor are used to convert between index values and RGB values.

This index values are always defined:

0=Black (Default)

1=Red

2=Green

3=Blue

4=Yellow,

5=Fuchsia

6=Purple

7=Maroon

8=Lime

9=Aqua

10=Teal

11=Navy

12=White

13=Light Gray

14=Gray

15=Black

Also see the convert utility functions in IWPParInterface.