---
title: "Sample Gradient"
url: "https://help.maxon.net/ag/en-us/Content/html/Generator_num4D_sample_gradient.html"
section_path: "Generators > Numeric 4D > Sample Gradient"
description: "Select a RGBA color at a given position on a gradient. The selected color is always in the Project's Display Colorspace defined in the Project Settings."
---

# Sample Gradient

## Brief Description

Select a RGBA color at a given position on a gradient. The selected color is always in the Project's Display Colorspace defined in the Project Settings.

## Controls

| Parameter / Script Name | Type | Default | Function |
| --- | --- | --- | --- |
| `Enabled / enabled` | Boolean | On |  |
| `Value / source` | Float | 0 |  |
| `Wrap Mode / wrap` | Choice | Clamp | - *Clamp*<br>- *Repeat*<br>- *Mirror* |
| `Gradient / gradient` |  |  |  |
