<!--
{
  "availability" : [
    "watchOS: 5.0.0 - 27.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "ClockKit",
  "identifier" : "/documentation/ClockKit/CLKGaugeProvider/gaugeColorLocations",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ClockKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CLKGaugeProvider(py)gaugeColorLocations"
  },
  "title" : "gaugeColorLocations"
}
-->

# gaugeColorLocations

The location of each color in a multicolor gauge’s gradient.

```
var gaugeColorLocations: [NSNumber]? { get }
```

## Discussion

This property specifies the location of each color in the [`gaugeColors`](/documentation/ClockKit/CLKGaugeProvider/gaugeColors) array. Each location must be a value between `0.0` and `1.0`.

A gauge with more than one color appears as a gradient. The provider specifies the colors using the [`gaugeColors`](/documentation/ClockKit/CLKGaugeProvider/gaugeColors) property. The [`gaugeColors`](/documentation/ClockKit/CLKGaugeProvider/gaugeColors) and [`gaugeColorLocations`](/documentation/ClockKit/CLKGaugeProvider/gaugeColorLocations) properties must have the same number of elements.

---

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)