---
title: shadowColor
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsshadow/shadowcolor
---

# shadowColor

The color of the shadow.

## Declaration

```swift
@NSCopying var shadowColor: NSColor? { get set }
```

## Discussion

Discussion The default shadow color is black with an alpha of 1/3. If you set this property to nil, the shadow is not drawn. The color you specify must be convertible to an RGBA color and may contain alpha information.

## See Also

### Managing a shadow

- [shadowOffset](appkit/nsshadow/shadowoffset.md)
- [shadowBlurRadius](appkit/nsshadow/shadowblurradius.md)
