---
title: TextureResource.Format.ColorSpace
framework: realitykit
role: symbol
role_heading: Enumeration
path: realitykit/textureresource/format/colorspace
---

# TextureResource.Format.ColorSpace

A profile that specifies the interpretation of pixel values as a color.

## Declaration

```swift
enum ColorSpace
```

## Overview

Overview This color space specifies the color primaries, and the pixel format specifies the white point transfer function.

## Topics

### Format color spaces

- [TextureResource.Format.ColorSpace.displayP3](realitykit/textureresource/format/colorspace/displayp3.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Defining the format profile

- [TextureResource.Format.NormalEncoding](realitykit/textureresource/format/normalencoding.md)
