---
title: "Gradient Colorize"
url: "https://help.maxon.net/ag/en-us/Content/html/Modifier_image_col_grad_colorize.html"
section_path: "Modifiers > Image > Color > Gradient Colorize"
description: "Re-color an image using a Gradient. The Alpha or Luminance of the source image pixel is used to sample the gradient and determine the pixel color."
---

# Gradient Colorize

## Brief Description

Re-color an image using a Gradient. The Alpha or Luminance of the source image pixel is used to sample the gradient and determine the pixel color.

## Controls

| Parameter / Script Name | Type | Default | Function |
| --- | --- | --- | --- |
| `Enabled / enabled` | Boolean | On |  |
| `Red / process_red` | Boolean | On | Enable the red channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0 |
| `Green / process_green` | Boolean | On | Enable the green channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0 |
| `Blue / process_blue` | Boolean | On | Enable the blue channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0 |
| `Alpha / process_alpha` | Boolean | Off | Enable the alpha channel in output. Otherwise if there's a source the content of the main source is returned instead, else 0 |
| `Offset / offset` | Float | 0 |  |
| `Wrap Mode / wrap` | Choice | Constant | - *Constant*<br>- *Repeat*<br>- *Mirror* |
| `Luminance Mode / luma_mode` | Choice | Rec. 709 | Luminance formula used when mode is not None<br>- *Rec. 709*<br>- *Rec. 2020*<br>- *ACES ap-0*<br>- *ACES ap-1*<br>- *CCIR 601*<br>- *Average*: Average of intensities<br>- *Max*: Maximum of intensities |
| `Channel / source_channel` | Choice | Luminance | - *Luminance*<br>- *Alpha* |
| `Gradient / gradient` |  |  |  |
| `Colorspace / input_colorspace` | Choice | Project Display Space | - *Project Working Space*: The color is assumed to be expressed in the project working space<br>- *Project Display Space*: The color is assumed to be expressed in the project display space |
| `Enable Threshold Min / enable_thr_min` | Boolean | Off |  |
| `Threshold Min / thr_min` | Float | 0 |  |
| `Enable Threshold Max / enable_thr_max` | Boolean | Off |  |
| `Threshold Max / thr_max` | Float | 1 |  |
| `Mask / mask` | Image | - |  |
| `Mix / mix_with_source` | Float | 1 | Dissolves between the original image at 0 and the image with the effect applied at 1 |
