---
title: colorEncodings
framework: IOKit
role: symbol
role_heading: Instance Property
platforms: [Mac Catalyst 13.0+, macOS 10.0+]
path: iokit/iohardwarecursordescriptor/1505587-colorencodings
---

# colorEncodings

An array pointer specifying the pixel values corresponding to the indices into the color table, for indexed pixel types.

## Declaration

```occ
UInt32 *colorEncodings;
```

## See Also

### Fields

- [majorVersion](iokit/iohardwarecursordescriptor/1505436-majorversion.md)
- [minorVersion](iokit/iohardwarecursordescriptor/1505743-minorversion.md)
- [height](iokit/iohardwarecursordescriptor/1506025-height.md)
- [width](iokit/iohardwarecursordescriptor/1505052-width.md)
- [bitDepth](iokit/iohardwarecursordescriptor/1505720-bitdepth.md)
- [maskBitDepth](iokit/iohardwarecursordescriptor/1505546-maskbitdepth.md)
- [numColors](iokit/iohardwarecursordescriptor/1505035-numcolors.md)
- [flags](iokit/iohardwarecursordescriptor/1505608-flags.md)
- [supportedSpecialEncodings](iokit/iohardwarecursordescriptor/1506135-supportedspecialencodings.md)
- [specialEncodings](iokit/iohardwarecursordescriptor/1505679-specialencodings.md)
