---
title: CMBitmapColorSpace
framework: Application Services
role: symbol
role_heading: Type Alias
platforms: [macOS 10.0+]
path: applicationservices/cmbitmapcolorspace
---

# CMBitmapColorSpace

Specifies bitmap spaces with a wide range of data formats appropriate for multiple platforms.

## Declaration

```occ
typedef UInt32 CMBitmapColorSpace;
```

## Discussion

This enumeration defines constants for color spaces which can specify color values for a bitmap image. As a rule, these constants include a packing format, defined in [Color Packing for Color Spaces](1560270-color_packing_for_color_spaces.md). You can use these constants to set the `space` field of the `CMBitmap` type definition identifies the color space in which the colors of the bitmap image are specified, as described in [Abstract Color Space Constants](1560701-abstract_color_space_constants.md).

### Version-Notes

The constants `cmRGBASpace` and `cmGrayASpace` were moved to [Abstract Color Space Constants](1560701-abstract_color_space_constants.md) in ColorSync version 2.5.

The constants `cmGray16Space`, `cmGrayA32Space`, `cmRGB48Space`, `cmCMYK64Space`, and `cmLAB48Space` were added in ColorSync version 2.5.

## Topics

### Constants

- [cmGray8Space](1560256-anonymous/cmgray8space.md)
- [cmGray16Space](1560256-anonymous/cmgray16space.md)
- [cmGray16LSpace](1560256-anonymous/cmgray16lspace.md)
- [cmGrayA16Space](1560256-anonymous/cmgraya16space.md)
- [cmGrayA32Space](1560256-anonymous/cmgraya32space.md)
- [cmGrayA32LSpace](1560256-anonymous/cmgraya32lspace.md)
- [cmGrayA16PmulSpace](1560256-anonymous/cmgraya16pmulspace.md)
- [cmGrayA32PmulSpace](1560256-anonymous/cmgraya32pmulspace.md)
- [cmGrayA32LPmulSpace](1560256-anonymous/cmgraya32lpmulspace.md)
- [cmRGB16Space](1560256-anonymous/cmrgb16space.md)
- [cmRGB16LSpace](1560256-anonymous/cmrgb16lspace.md)
- [cmRGB565Space](1560256-anonymous/cmrgb565space.md)
- [cmRGB565LSpace](1560256-anonymous/cmrgb565lspace.md)
- [cmRGB24Space](1560256-anonymous/cmrgb24space.md)
- [cmRGB32Space](1560256-anonymous/cmrgb32space.md)
- [cmRGB48Space](1560256-anonymous/cmrgb48space.md)
- [cmRGB48LSpace](1560256-anonymous/cmrgb48lspace.md)
- [cmARGB32Space](1560256-anonymous/cmargb32space.md)
- [cmARGB64Space](1560256-anonymous/cmargb64space.md)
- [cmARGB64LSpace](1560256-anonymous/cmargb64lspace.md)
- [cmRGBA32Space](1560256-anonymous/cmrgba32space.md)
- [cmRGBA64Space](1560256-anonymous/cmrgba64space.md)
- [cmRGBA64LSpace](1560256-anonymous/cmrgba64lspace.md)
- [cmARGB32PmulSpace](1560256-anonymous/cmargb32pmulspace.md)
- [cmARGB64PmulSpace](1560256-anonymous/cmargb64pmulspace.md)
- [cmARGB64LPmulSpace](1560256-anonymous/cmargb64lpmulspace.md)
- [cmRGBA32PmulSpace](1560256-anonymous/cmrgba32pmulspace.md)
- [cmRGBA64PmulSpace](1560256-anonymous/cmrgba64pmulspace.md)
- [cmRGBA64LPmulSpace](1560256-anonymous/cmrgba64lpmulspace.md)
- [cmCMYK32Space](1560256-anonymous/cmcmyk32space.md)
- [cmCMYK64Space](1560256-anonymous/cmcmyk64space.md)
- [cmCMYK64LSpace](1560256-anonymous/cmcmyk64lspace.md)
- [cmHSV32Space](1560256-anonymous/cmhsv32space.md)
- [cmHLS32Space](1560256-anonymous/cmhls32space.md)
- [cmYXY32Space](1560256-anonymous/cmyxy32space.md)
- [cmXYZ24Space](1560256-anonymous/cmxyz24space.md)
- [cmXYZ32Space](1560256-anonymous/cmxyz32space.md)
- [cmXYZ48Space](1560256-anonymous/cmxyz48space.md)
- [cmXYZ48LSpace](1560256-anonymous/cmxyz48lspace.md)
- [cmLUV32Space](1560256-anonymous/cmluv32space.md)
- [cmLAB24Space](1560256-anonymous/cmlab24space.md)
- [cmLAB32Space](1560256-anonymous/cmlab32space.md)
- [cmLAB48Space](1560256-anonymous/cmlab48space.md)
- [cmLAB48LSpace](1560256-anonymous/cmlab48lspace.md)
- [cmGamutResult1Space](1560256-anonymous/cmgamutresult1space.md)
- [cmNamedIndexed32Space](1560256-anonymous/cmnamedindexed32space.md)
- [cmNamedIndexed32LSpace](1560256-anonymous/cmnamedindexed32lspace.md)
- [cmMCFive8Space](1560256-anonymous/cmmcfive8space.md)
- [cmMCSix8Space](1560256-anonymous/cmmcsix8space.md)
- [cmMCSeven8Space](1560256-anonymous/cmmcseven8space.md)
- [cmMCEight8Space](1560256-anonymous/cmmceight8space.md)
