---
title: "ColorModel"
---
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/website.rs -->

Specified what color components are present in an [`archetypes.Image`](https://rerun.io/docs/reference/types/archetypes/image).

This combined with [`datatypes.ChannelDatatype`](https://rerun.io/docs/reference/types/datatypes/channel_datatype) determines the pixel format of an image.

## Variants
#### `L` = 1
Grayscale luminance intencity/brightness/value, sometimes called `Y`

#### `RGB` = 2
Red, Green, Blue

#### `RGBA` = 3
Red, Green, Blue, Alpha

#### `BGR` = 4
Blue, Green, Red

#### `BGRA` = 5
Blue, Green, Red, Alpha


## Arrow datatype
```
UInt8
```

## API reference links
 * 🌊 [C++ API docs for `ColorModel`](https://ref.rerun.io/docs/cpp/stable/namespacererun_1_1datatypes.html)
 * 🐍 [Python API docs for `ColorModel`](https://ref.rerun.io/docs/python/stable/common/datatypes#rerun.datatypes.ColorModel)
 * 🦀 [Rust API docs for `ColorModel`](https://docs.rs/rerun/latest/rerun/datatypes/enum.ColorModel.html)


## Used by

* [`ImageFormat`](../datatypes/image_format.md)
