Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indices of colors in the default palette.
| Constant | Value | Description |
|---|---|---|
| visBlack | 0 | Black |
| visBlue | 4 | Blue |
| visCyan | 7 | Cyan |
| visDarkBlue | 10 | Dark blue |
| visDarkCyan | 13 | Dark cyan |
| visDarkGray | 19 | Dark gray |
| visDarkGreen | 9 | Dark green |
| visDarkRed | 8 | Dark red |
| visDarkYellow | 11 | Dark yellow |
| visGray10 | 15 | 10% gray |
| visGray20 | 16 | 20% gray |
| visGray30 | 17 | 30% gray |
| visGray40 | 18 | 40% gray |
| visGray50 | 19 | 50% gray |
| visGray60 | 20 | 60% gray |
| visGray70 | 21 | 70% gray |
| visGray80 | 22 | 80% gray |
| visGray90 | 23 | 90% gray |
| visGray | 14 | Gray |
| visGreen | 3 | Green |
| visMagenta | 6 | Magenta |
| visPurple | 12 | Purple |
| visRed | 2 | Red |
| visTransparent | 0 | Transparent |
| visWhite | 1 | White |
| visYellow | 5 | Yellow |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.