# FunctionGradient class

Namespace: [Grasshopper2.Types.Colour](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.colour.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[IoId("00000000-f650-4f43-9fe3-22cf962b4d68")]
public sealed class FunctionGradient : Gradient
```

A one dimensional colour gradient based on a colour space and channel functions.

## Constructors

- [FunctionGradient](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/ctor.md): (2 overloads)

## Properties

- [F1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/f1.md): The function for the first channel.
- [F2](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/f2.md): The function for the second channel.
- [F3](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/f3.md): The function for the third channel.
- [FA](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/fa.md): The function for the alpha channel.
- [IntrinsicDomain](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/intrinsicdomain.md)
- [Space](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/space.md): Gets the colour space in which this gradient is defined.

## Methods

- [ColourAtInternal](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/colouratinternal.md)
- [Remap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/remap.md)
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/store.md)
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.functiongradient/tostring.md)

## Inherited Members

- From [Gradient](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient.md): [ApparentDomain](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/apparentdomain.md), [Interaction](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/interaction.md), [Mapping](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/mapping.md), [ColourAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/colourat.md), [CreateTextureCache](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/createtexturecache.md), [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/draw.md), [IsConstant](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/isconstant.md), [Remap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/remap.md), [RemapAutomatic](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/remapautomatic.md), [ToBitmap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/tobitmap.md), [WithAutomaticLimits](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.gradient/withautomaticlimits.md)
