# LabCube class

Namespace: [Grasshopper2.UI.ColourPicker.Models](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.colourpicker.models.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class LabCube : AbstractColourCube
```

Implementation of ColourCube for the CIE L*a*b* model.

## Constructors

- [LabCube](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.labcube/ctor.md): Create a new LAB cube centered on a specific colour.

## Properties

- [Filter](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.labcube/filter.md)
- [Format](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.labcube/format.md): Format the current model.
- [Icon](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.labcube/icon.md)

## Methods

- [GetChannels](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.labcube/getchannels.md): Gets the channel values of the current space.
- [GetTexture](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.labcube/gettexture.md): Gets the texture for the current projection.
- [SetChannels](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.labcube/setchannels.md): Sets the three channel values.
- [ToColour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.labcube/tocolour.md): Convert from cube coordinate to colour.
- [ToPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.labcube/topoint.md): Convert from colour to cube coordinate.

## Inherited Members

- From [AbstractColourCube](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube.md): [Colour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube/colour.md), [Coordinate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube/coordinate.md), [Cube](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube/cube.md), [Nomen](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube/nomen.md), [Pivot](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube/pivot.md), [Slice](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube/slice.md), [Zoom](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube/zoom.md), [AssignCubeState](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube/assigncubestate.md), [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube/draw.md), [SetColour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourcube/setcolour.md)
