<!--
{
  "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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

### Adaptable gray colors

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

The standard base gray color that adapts to the environment.

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

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

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

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

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

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

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

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

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

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

### Transparent color

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

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

### Fixed colors

[`blackColor`](/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`.

[`blueColor`](/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`.

[`brownColor`](/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`.

[`cyanColor`](/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`.

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

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

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

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

[`greenColor`](/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`.

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

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

[`magentaColor`](/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`.

[`orangeColor`](/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`.

[`purpleColor`](/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`.

[`redColor`](/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`.

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

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

[`yellowColor`](/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)