---
title: NSTextHighlightColorScheme
framework: uikit
role: symbol
role_heading: Type Alias
path: uikit/nstexthighlightcolorscheme
---

# NSTextHighlightColorScheme

Constants that specify the highlight color to use with the text.

## Declaration

```occ
typedef NSString * NSTextHighlightColorScheme;
```

## Overview

Overview Use an NSTextHighlightColorScheme structure as the value of the NSTextHighlightColorSchemeAttributeName attribute. That attribute specifies which color to use when drawing the highlight on the text. This attribute specifies only the color option. To display the highlight itself, add the NSTextHighlightStyleAttributeName attribute to the text.

## Topics

### Getting the color schemes

- [NSTextHighlightColorSchemeDefault](uikit/nstexthighlightcolorschemedefault.md)
- [NSTextHighlightColorSchemeBlue](uikit/nstexthighlightcolorschemeblue.md)
- [NSTextHighlightColorSchemeMint](uikit/nstexthighlightcolorschememint.md)
- [NSTextHighlightColorSchemeOrange](uikit/nstexthighlightcolorschemeorange.md)
- [NSTextHighlightColorSchemePink](uikit/nstexthighlightcolorschemepink.md)
- [NSTextHighlightColorSchemePurple](uikit/nstexthighlightcolorschemepurple.md)

## See Also

### Getting text content attributes

- [TextKit string attribute keys](uikit/textkit-string-attribute-keys.md)
- [NSTextHighlightStyle](uikit/nstexthighlightstyle.md)
- [NSTextEffectStyle](uikit/nstexteffectstyle.md)
- [NSUnderlineStyle](uikit/nsunderlinestyle.md)
- [NSWritingDirectionFormatType](uikit/nswritingdirectionformattype.md)
