<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/BackgroundStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSBackgroundStyle"
  },
  "title" : "NSView.BackgroundStyle"
}
-->

# NSView.BackgroundStyle

Background styles to apply to a view’s cell.

```
enum BackgroundStyle
```

## Overview

Apply these styles to the [`backgroundStyle`](/documentation/AppKit/NSCell/backgroundStyle) or [`interiorBackgroundStyle`](/documentation/AppKit/NSCell/interiorBackgroundStyle) properties of an [`NSCell`](/documentation/AppKit/NSCell) object.

## Topics

### Getting the Background Styles

[`NSBackgroundStyleNormal`](/documentation/AppKit/NSView/BackgroundStyle/normal)

A style that reflects the predominant color scheme of the view’s appearance.

[`NSBackgroundStyleEmphasized`](/documentation/AppKit/NSView/BackgroundStyle/emphasized)

A style that adds emphasis to the background using an alternate color or visual effect.

[`NSBackgroundStyleRaised`](/documentation/AppKit/NSView/BackgroundStyle/raised)

A style that makes the background appear higher than the content drawn on it.

[`NSBackgroundStyleLowered`](/documentation/AppKit/NSView/BackgroundStyle/lowered)

A style that makes the background appear lower than the content drawn on it.

### Deprecated

[`NSBackgroundStyleLight`](/documentation/AppKit/NSView/BackgroundStyle/light)

The background is a light color.

[`NSBackgroundStyleDark`](/documentation/AppKit/NSView/BackgroundStyle/dark)

The background is a dark color.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)