---
title: selectedColor
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicolorwell/selectedcolor
---

# selectedColor

The selected color in the color picker.

## Declaration

```swift
var selectedColor: UIColor? { get set }
```

## Discussion

Discussion When a person selects a new color in the color picker, the system generates the control event valueChanged. This property is KVO-compliant.

## See Also

### Configuring color picker attributes

- [title](uikit/uicolorwell/title.md)
- [maximumLinearExposure](uikit/uicolorwell/maximumlinearexposure.md)
- [supportsAlpha](uikit/uicolorwell/supportsalpha.md)
- [supportsEyedropper](uikit/uicolorwell/supportseyedropper.md)
