<!--
{
  "availability" : [
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWorkspace/DesktopImageOptionKey/fillColor",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSWorkspaceDesktopImageFillColorKey"
  },
  "title" : "fillColor"
}
-->

# fillColor

A key that contains the behavior to use when filling the empty space around the image.

```
static let fillColor: NSWorkspace.DesktopImageOptionKey
```

## Discussion

The value is the [`NSColor`](/documentation/AppKit/NSColor) object to use when filling any empty space around the image. If you don’t specify this key, the workspace object uses a default color. Currently, the system supports only colors that use or can be converted to use the [`calibratedRGB`](/documentation/AppKit/NSColorSpaceName/calibratedRGB) color space. The system also ignores any alpha value in the color you specify.

---

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)