<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIColor/Prominence-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIColorProminence"
  },
  "title" : "UIColor.Prominence"
}
-->

# UIColor.Prominence

A type that indicates the prominence of a color in the interface.

```
enum Prominence
```

## Overview

Interface elements, such as text labels, can have a different level of prominence in the UI. For example, a title label appears more prominently than a subtitle or caption. When you specify a label’s color, you can pass one of the [`UIColor.Prominence`](/documentation/UIKit/UIColor/Prominence-swift.enum) constants to [`withProminence(_:)`](/documentation/UIKit/UIColor/withProminence(_:)) to communicate how prominently to display that color in the UI.

The following code creates a label with a secondary, vibrant red color:

```swift
let label = UILabel()
label.preferredVibrancy = .automatic
label.textColor = .systemRed.withProminence(.secondary) 
```

## Topics

### Constants

[`case primary`](/documentation/UIKit/UIColor/Prominence-swift.enum/primary)

A color with a primary prominence, the most prominent in the interface.

[`case secondary`](/documentation/UIKit/UIColor/Prominence-swift.enum/secondary)

A color with a secondary prominence.

[`case tertiary`](/documentation/UIKit/UIColor/Prominence-swift.enum/tertiary)

A color with a tertiary prominence.

[`case quaternary`](/documentation/UIKit/UIColor/Prominence-swift.enum/quaternary)

A color with a quaternary prominence, the least prominent in the interface.

### Initializers

[`init?(rawValue: Int)`](/documentation/UIKit/UIColor/Prominence-swift.enum/init(rawValue:))

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)