<!--
{
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/standard-colors",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Standard colors"
}
-->

# Standard colors

Define standard color objects for specific shades, such as red, blue, green, black, white, and more.

## Discussion

Use the standard color objects when you want to use a specific color shade in your UI. To view swatches of these colors, see [System Colors](https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/color/#system-colors).

The system color objects adapt automatically to Dark Mode changes when you use the provided [`UIColor`](/documentation/UIKit/UIColor) object, but the fixed-shade colors don’t adapt. If you retrieve the color values, either directly or using another type such as <doc://com.apple.documentation/documentation/CoreGraphics/CGColor>, you must handle Dark Mode changes yourself. For more information about supporting Dark Mode, see [Supporting Dark Mode in your interface](/documentation/UIKit/supporting-dark-mode-in-your-interface).

## Topics

### Adaptable colors

[`systemBlue`](/documentation/UIKit/UIColor/systemBlue)

A blue color that automatically adapts to the current trait environment.

[`systemBrown`](/documentation/UIKit/UIColor/systemBrown)

A brown color that automatically adapts to the current trait environment.

[`systemCyan`](/documentation/UIKit/UIColor/systemCyan)

A cyan color that automatically adapts to the current trait environment.

[`systemGreen`](/documentation/UIKit/UIColor/systemGreen)

A green color that automatically adapts to the current trait environment.

[`systemIndigo`](/documentation/UIKit/UIColor/systemIndigo)

An indigo color that automatically adapts to the current trait environment.

[`systemMint`](/documentation/UIKit/UIColor/systemMint)

A mint color that automatically adapts to the current trait environment.

[`systemOrange`](/documentation/UIKit/UIColor/systemOrange)

An orange color that automatically adapts to the current trait environment.

[`systemPink`](/documentation/UIKit/UIColor/systemPink)

A pink color that automatically adapts to the current trait environment.

[`systemPurple`](/documentation/UIKit/UIColor/systemPurple)

A purple color that automatically adapts to the current trait environment.

[`systemRed`](/documentation/UIKit/UIColor/systemRed)

A red color that automatically adapts to the current trait environment.

[`systemTeal`](/documentation/UIKit/UIColor/systemTeal)

A teal color that automatically adapts to the current trait environment.

[`systemYellow`](/documentation/UIKit/UIColor/systemYellow)

A yellow color that automatically adapts to the current trait environment.

### Adaptable gray colors

[`systemGray`](/documentation/UIKit/UIColor/systemGray)

The standard base gray color that adapts to the environment.

[`systemGray2`](/documentation/UIKit/UIColor/systemGray2)

A second-level shade of gray that adapts to the environment.

[`systemGray3`](/documentation/UIKit/UIColor/systemGray3)

A third-level shade of gray that adapts to the environment.

[`systemGray4`](/documentation/UIKit/UIColor/systemGray4)

A fourth-level shade of gray that adapts to the environment.

[`systemGray5`](/documentation/UIKit/UIColor/systemGray5)

A fifth-level shade of gray that adapts to the environment.

[`systemGray6`](/documentation/UIKit/UIColor/systemGray6)

A sixth-level shade of gray that adapts to the environment.

### Transparent color

[`clear`](/documentation/UIKit/UIColor/clear)

A color object with grayscale and alpha values that are both `0.0`.

### Fixed colors

[`black`](/documentation/UIKit/UIColor/black)

A color object in the sRGB color space with a grayscale value of `0.0` and an alpha value of `1.0`.

[`blue`](/documentation/UIKit/UIColor/blue)

A color object with RGB values of `0.0`, `0.0`, and `1.0`, and an alpha value of `1.0`.

[`brown`](/documentation/UIKit/UIColor/brown)

A color object with RGB values of `0.6`, `0.4`, and `0.2`, and an alpha value of `1.0`.

[`cyan`](/documentation/UIKit/UIColor/cyan)

A color object with RGB values of `0.0`, `1.0`, and `1.0`, and an alpha value of `1.0`.

[`darkGray`](/documentation/UIKit/UIColor/darkGray)

A color object with a grayscale value of 1/3 and an alpha value of `1.0`.

[`gray`](/documentation/UIKit/UIColor/gray)

A color object with a grayscale value of `0.5` and an alpha value of `1.0`.

[`green`](/documentation/UIKit/UIColor/green)

A color object with RGB values of `0.0`, `1.0`, and `0.0`, and an alpha value of `1.0`.

[`lightGray`](/documentation/UIKit/UIColor/lightGray)

A color object with a grayscale value of 2/3 and an alpha value of `1.0`.

[`magenta`](/documentation/UIKit/UIColor/magenta)

A color object with RGB values of `1.0`, `0.0`, and `1.0`, and an alpha value of `1.0`.

[`orange`](/documentation/UIKit/UIColor/orange)

A color object with RGB values of `1.0`, `0.5`, and `0.0`, and an alpha value of `1.0`.

[`purple`](/documentation/UIKit/UIColor/purple)

A color object with RGB values of `0.5`, `0.0`, and `0.5`, and an alpha value of `1.0`.

[`red`](/documentation/UIKit/UIColor/red)

A color object with RGB values of `1.0`, `0.0`, and `0.0`, and an alpha value of `1.0`.

[`white`](/documentation/UIKit/UIColor/white)

A color object with a grayscale value of `1.0` and an alpha value of `1.0`.

[`yellow`](/documentation/UIKit/UIColor/yellow)

A color object with RGB values of `1.0`, `1.0`, and `0.0`, and an alpha value of `1.0`.



---

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)