<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIImage/SymbolConfiguration-swift.class/preferringMulticolor()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIImageSymbolConfiguration(cm)configurationPreferringMulticolor"
  },
  "title" : "preferringMulticolor()"
}
-->

# preferringMulticolor()

Creates a color configuration that specifies that the symbol image uses its multicolor variant, if one exists.

```
class func preferringMulticolor() -> Self
```

## Return Value

A symbol configuration that acquires the multicolor variant of a symbol.

## Discussion

Use this method to acquire the multicolor variant of a symbol, if one exists. This method is the primary approach to retrieving multicolor symbols.

For this color configuration to have an effect, your symbol image must have the following:

- Its [`renderingMode`](/documentation/UIKit/UIImage/renderingMode-swift.property) set to [`UIImage.RenderingMode.alwaysTemplate`](/documentation/UIKit/UIImage/RenderingMode-swift.enum/alwaysTemplate) or [`UIImage.RenderingMode.automatic`](/documentation/UIKit/UIImage/RenderingMode-swift.enum/automatic).
- Multicolor annotations. If your symbol doesn’t have multicolor annotations, the resulting image is a monochrome (template) symbol image. If you combine this configuration with a hierarchical or palette color configuration using [`applying(_:)`](/documentation/UIKit/UIImage/Configuration-swift.class/applying(_:)), the resulting symbol uses the multicolor variant, if one exists, and defaults to the hierarchical or palette variant otherwise.

---

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)