OlCategoryColor Enumeration

Outlook Developer Reference

Indicates the color specified in the Color property of the Category object.

Version Information
 Version Added:  Outlook 2007

Name Value Description
olCategoryColorBlack 15 Black
olCategoryColorBlue 8 Blue
olCategoryColorDarkBlue 23 Dark Blue
olCategoryColorDarkGray 14 Dark Gray
olCategoryColorDarkGreen 20 Dark Green
olCategoryColorDarkMaroon 25 Dark Maroon
olCategoryColorDarkOlive 22 Dark Olive
olCategoryColorDarkOrange 17 Dark Orange
olCategoryColorDarkPeach 18 Dark Peach
olCategoryColorDarkPurple 24 Dark Purple
olCategoryColorDarkRed 16 Dark Red
olCategoryColorDarkSteel 12 Dark Steel
olCategoryColorDarkTeal 21 Dark Teal
olCategoryColorDarkYellow 19 Dark Yellow
olCategoryColorGray 13 Gray
olCategoryColorGreen 5 Green
olCategoryColorMaroon 10 Maroon
olCategoryColorNone -1 No color assigned.
olCategoryColorOlive 7 Olive
olCategoryColorOrange 2 Orange
olCategoryColorPeach 3 Peach
olCategoryColorPurple 9 Purple
olCategoryColorRed 1 Red
olCategoryColorSteel 11 Steel
olCategoryColorTeal 6 Teal
olCategoryColorYellow 4 Yellow

Remarks

The color constants provided here are an approximation of the actual colors used by the Category object. Use the CategoryBorderColor, CategoryGradientBottomColor, and CategoryGradientTopColor properties to retrieve the OLE_COLOR color values used to represent the Category object, after setting the Color property to the appropriate constant.