> For the complete documentation index, see [llms.txt](https://mostafaznv.gitbook.io/pdf-optimizer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mostafaznv.gitbook.io/pdf-optimizer/advanced-usage/configuring-ghostscript/processcolormodel.md).

# ProcessColorModel

| Method Name       | Argument Name | Argument Type                                   |
| ----------------- | ------------- | ----------------------------------------------- |
| processColorModel | model         | Mostafaznv\PdfOptimizer\Enums\ProcessColorModel |

A symbol taken from <mark style="color:red;">/DeviceGray</mark>, <mark style="color:red;">/DeviceRGB</mark> or <mark style="color:red;">/DeviceCMYK</mark> which can be used to select <mark style="color:red;">1, 3 or 4</mark> colors respectively.

{% hint style="info" %}
Note that this parameter takes precedence over Colors, and that both affect the same variable of the driver.
{% endhint %}
