# HspBall 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 HspBall : AbstractColourBall
```

Implements AbstractColourSphere for the Hue-Saturation-Perceived Luminance model.

## Constructors

- [HspBall](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.hspball/ctor.md): Create a new sphere.

## Properties

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

## Methods

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

## Inherited Members

- From [AbstractColourBall](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball.md): [Colour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/colour.md), [Coordinate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/coordinate.md), [Disc](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/disc.md), [Nomen](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/nomen.md), [Pivot](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/pivot.md), [PivotVisible](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/pivotvisible.md), [Rotation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/rotation.md), [Sphere](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/sphere.md), [Zoom](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/zoom.md), [AssignSphereState](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/assignspherestate.md), [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/draw.md), [SetColour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.abstractcolourball/setcolour.md)
