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

# UIColor Implementations

## Topics

### Initializers

[`init?(named: String, inBundle: Bundle?, compatibleWithTraitCollection: UITraitCollection?)`](/documentation/UIKit/UIColor/init(named:inBundle:compatibleWithTraitCollection:))

Creates a color object using the named asset that’s compatible with the specified trait collection.

---

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)