# GH_ColourSwatchControl class

Namespace: [Grasshopper.GUI](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_ColourSwatchControl : GH_DoubleBufferedPanel
```

## Constructors

- [GH_ColourSwatchControl](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-colourswatchcontrol/ctor.md)

## Properties

- [Colour](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-colourswatchcontrol/colour.md)

## Methods

- [OnPaint](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-colourswatchcontrol/onpaint.md)
- [OnPaintBackground](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-colourswatchcontrol/onpaintbackground.md)

## Events

- [ColourChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-colourswatchcontrol/colourchanged.md)
