---
title: foregroundColor
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/attributescopes/appkitattributes/foregroundcolor
---

# foregroundColor

A property for accessing a foreground color attribute.

## Declaration

```swift
let foregroundColor: AttributeScopes.AppKitAttributes.ForegroundColorAttribute
```

## See Also

### Using Color Attributes

- [backgroundColor](foundation/attributescopes/appkitattributes/backgroundcolor.md)
