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

# shadowColor

The color of the shadow.

## Declaration

```swift
var shadowColor: Any? { 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](uikit/nsshadow/shadowoffset.md)
- [shadowBlurRadius](uikit/nsshadow/shadowblurradius.md)
