---
title: SRAmbientLightSample.Chromaticity
framework: sensorkit
role: symbol
role_heading: Structure
path: sensorkit/srambientlightsample/chromaticity-swift.struct
---

# SRAmbientLightSample.Chromaticity

A coordinate pair that describes light brightness and tint.

## Declaration

```swift
struct Chromaticity
```

## Overview

Overview The SRAmbientLightSample class provides read-only access to an instance of this structure through its chromaticity property.

## Topics

### Creating a Chromaticity

- [init()](sensorkit/srambientlightsample/chromaticity-swift.struct/init().md)
- [init(x:y:)](sensorkit/srambientlightsample/chromaticity-swift.struct/init(x:y:).md)

### Setting chromaticity

- [x](sensorkit/srambientlightsample/chromaticity-swift.struct/x.md)
- [y](sensorkit/srambientlightsample/chromaticity-swift.struct/y.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Measuring light level

- [chromaticity](sensorkit/srambientlightsample/chromaticity-swift.property.md)
- [lux](sensorkit/srambientlightsample/lux.md)
- [placement](sensorkit/srambientlightsample/placement.md)
- [SRAmbientLightSample.SensorPlacement](sensorkit/srambientlightsample/sensorplacement.md)
