Contents

textBackgroundColor

The color to use for the background area behind text.

Declaration

class var textBackgroundColor: NSColor { get }

Discussion

When text is selected, its background color changes to the return value of selectedTextBackgroundColor.

When applied to an NSBox object, this color supports Desktop Tinting in Dark Mode. With Desktop Tinting, the system modifies this color dynamically by incorporating some of the color from the underlying desktop image. The system does not apply this dynamic tinting effect to other types of views.

See Also

Text colors