---
title: HMCharacteristicTypeColorTemperature
framework: homekit
role: symbol
role_heading: Global Variable
path: homekit/hmcharacteristictypecolortemperature
---

# HMCharacteristicTypeColorTemperature

The color temperature of a light.

## Declaration

```swift
let HMCharacteristicTypeColorTemperature: String
```

## Discussion

Discussion The corresponding value is an integer representing the color temperature in micro-reciprocal degrees (mired), which is 1,000,000 divided by the color temperature in kelvins. For example, to emulate a traditional tungsten light with a color temperature of 3200 K, use a mired value of about 312.

## See Also

### Light

- [HMCharacteristicTypeCurrentLightLevel](homekit/hmcharacteristictypecurrentlightlevel.md)
- [HMCharacteristicTypeHue](homekit/hmcharacteristictypehue.md)
- [HMCharacteristicTypeBrightness](homekit/hmcharacteristictypebrightness.md)
- [HMCharacteristicTypeSaturation](homekit/hmcharacteristictypesaturation.md)
