---
name: "SDL_ColorType"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_ColorType"
---

# SDL\_ColorType(3type)

Colorspace color type.

## NAME

SDL\_ColorType - Colorspace color type.

## HEADER FILE

Defined in SDL3/SDL\_pixels.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef enum SDL\_ColorType** **{**     **SDL\_COLOR\_TYPE\_UNKNOWN = 0,**     **SDL\_COLOR\_TYPE\_RGB = 1,**     **SDL\_COLOR\_TYPE\_YCBCR = 2** **} SDL\_ColorType;**

## AVAILABILITY

This enum is available since SDL 3.2.0.
