---
UID: NE:d2d1_1.D2D1_COLOR_SPACE
title: D2D1_COLOR_SPACE (d2d1_1.h)
description: Defines options that should be applied to the color space.
old-location: direct2d\__d2d1_color_space.htm
tech.root: Direct2D
ms.assetid: 2c90978b-8a5a-4e5d-9ced-e0ec917271ff
ms.date: 12/05/2018
ms.keywords: D2D1_COLOR_SPACE, D2D1_COLOR_SPACE enumeration [Direct2D], D2D1_COLOR_SPACE_CUSTOM, D2D1_COLOR_SPACE_SCRGB, D2D1_COLOR_SPACE_SRGB, d2d1_1/D2D1_COLOR_SPACE, d2d1_1/D2D1_COLOR_SPACE_CUSTOM, d2d1_1/D2D1_COLOR_SPACE_SCRGB, d2d1_1/D2D1_COLOR_SPACE_SRGB, direct2d.__d2d1_color_space
f1_keywords:
- d2d1_1/D2D1_COLOR_SPACE
dev_langs:
- c++
req.header: d2d1_1.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 8 and Platform Update for Windows 7 [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps \| UWP apps]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- HeaderDef
api_location:
- D2d1_1.h
api_name:
- D2D1_COLOR_SPACE
targetos: Windows
req.typenames: D2D1_COLOR_SPACE
req.redist: 
ms.custom: 19H1
---

# D2D1_COLOR_SPACE enumeration


## -description


Defines options that should be applied to the color space.


## -enum-fields




### -field D2D1_COLOR_SPACE_CUSTOM

The color space is otherwise described, such as with a color profile.


### -field D2D1_COLOR_SPACE_SRGB

The color space is sRGB.


### -field D2D1_COLOR_SPACE_SCRGB

The color space is scRGB.


### -field D2D1_COLOR_SPACE_FORCE_DWORD



