---
title: TextureResource.Semantic.color
framework: realitykit
role: symbol
role_heading: Case
path: realitykit/textureresource/semantic-swift.enum/color
---

# TextureResource.Semantic.color

Use the texture to store colors data.

## Declaration

```swift
case color
```

## Discussion

Discussion Properties that specify a semantic of color use the RGB color data from the texture. If the source image contains color space information, RealityKit modifies the individual pixels to fit the color space. If the source image is grayscale, RealityKit converts it to an RGB image first.

## See Also

### Specifying intended use

- [TextureResource.Semantic.raw](realitykit/textureresource/semantic-swift.enum/raw.md)
- [TextureResource.Semantic.hdrColor](realitykit/textureresource/semantic-swift.enum/hdrcolor.md)
- [TextureResource.Semantic.normal](realitykit/textureresource/semantic-swift.enum/normal.md)
- [TextureResource.Semantic.scalar](realitykit/textureresource/semantic-swift.enum/scalar.md)
