---
title: fallbackBackgroundColor
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsbitmapimagerep/propertykey/fallbackbackgroundcolor
---

# fallbackBackgroundColor

Specifies the background color to use when writing to an image format (such as JPEG) that doesn’t support alpha.

## Declaration

```swift
static let fallbackBackgroundColor: NSBitmapImageRep.PropertyKey
```

## Discussion

Discussion The color’s alpha value is ignored. The default background color, when this property is not specified, is white. The value of the property should be an NSColor object. This constant corresponds to the kCGImageDestinationBackgroundColor constant in Quartz.

## See Also

### Bitmap Properties

- [colorSyncProfileData](appkit/nsbitmapimagerep/propertykey/colorsyncprofiledata.md)
- [compressionFactor](appkit/nsbitmapimagerep/propertykey/compressionfactor.md)
- [compressionMethod](appkit/nsbitmapimagerep/propertykey/compressionmethod.md)
- [currentFrame](appkit/nsbitmapimagerep/propertykey/currentframe.md)
- [currentFrameDuration](appkit/nsbitmapimagerep/propertykey/currentframeduration.md)
- [ditherTransparency](appkit/nsbitmapimagerep/propertykey/dithertransparency.md)
- [exifData](appkit/nsbitmapimagerep/propertykey/exifdata.md)
- [frameCount](appkit/nsbitmapimagerep/propertykey/framecount.md)
- [gamma](appkit/nsbitmapimagerep/propertykey/gamma.md)
- [interlaced](appkit/nsbitmapimagerep/propertykey/interlaced.md)
- [loopCount](appkit/nsbitmapimagerep/propertykey/loopcount.md)
- [progressive](appkit/nsbitmapimagerep/propertykey/progressive.md)
- [rgbColorTable](appkit/nsbitmapimagerep/propertykey/rgbcolortable.md)
