# ExtendingPalette class

Namespace: [Grasshopper2.Eto.Drawing](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.eto.drawing.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class ExtendingPalette
```

A colour palette which auto-extends to more and more colours over time.

## Constructors

- [ExtendingPalette](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.extendingpalette/ctor.md)

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.extendingpalette/item.md): Gets the colour at the given index.

## Methods

- [CreateGradientPalette](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.extendingpalette/creategradientpalette.md): (static) Create an automatic palette based on an initial sampling across a gradient.
- [CreateOpenColorPalette](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.extendingpalette/createopencolorpalette.md): (static) Create an automatic palette based on initial OpenColor picks.
