---
title: "ColorModels"
url: "https://reference.aspose.com/imaging/java/com.aspose.imaging.fileformats.cmx.objectmodel.enums/colormodels/"
product: "Aspose.Imaging for Java API Reference"
description: "Color models."
---

**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
```
public final class ColorModels extends System.Enum
```

Color models.
## Fields

| Field | Description |
| --- | --- |
| [Invalid](#Invalid) | Invalid color model. |
| [Pantone](#Pantone) | PANTONE palette. |
| [CMYK](#CMYK) | CMYK color model, represented in 0-100 byte ranges. |
| [CMYK255](#CMYK255) | CMYK color model, represented in 0-255 byte ranges. |
| [CMY](#CMY) | CMY color model. |
| [RGB](#RGB) | RGM color model. |
| [HSB](#HSB) | HSB color model. |
| [HLS](#HLS) | HLS color model. |
| [BW](#BW) | Black and White colors. |
| [Gray](#Gray) | Grayscale color model. |
| [YIQ255](#YIQ255) | YIQ color model, represented in 0-255 byte ranges. |
| [LAB](#LAB) | Lab color model. |
| [BGR](#BGR) | The color model BGR |
| [LAB255](#LAB255) | Lab color model LAB255. |
### Invalid {#Invalid}
```
public static final int Invalid
```


Invalid color model.

### Pantone {#Pantone}
```
public static final int Pantone
```


PANTONE palette.

### CMYK {#CMYK}
```
public static final int CMYK
```


CMYK color model, represented in 0-100 byte ranges.

### CMYK255 {#CMYK255}
```
public static final int CMYK255
```


CMYK color model, represented in 0-255 byte ranges.

### CMY {#CMY}
```
public static final int CMY
```


CMY color model.

### RGB {#RGB}
```
public static final int RGB
```


RGM color model.

### HSB {#HSB}
```
public static final int HSB
```


HSB color model.

### HLS {#HLS}
```
public static final int HLS
```


HLS color model.

### BW {#BW}
```
public static final int BW
```


Black and White colors.

### Gray {#Gray}
```
public static final int Gray
```


Grayscale color model.

### YIQ255 {#YIQ255}
```
public static final int YIQ255
```


YIQ color model, represented in 0-255 byte ranges.

### LAB {#LAB}
```
public static final int LAB
```


Lab color model.

### BGR {#BGR}
```
public static final int BGR
```


The color model BGR

### LAB255 {#LAB255}
```
public static final int LAB255
```


Lab color model LAB255.

