# YxyGram 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 YxyGram : IColourSpace
```

Represents an immutable, generic colour cube with a normalised 4d coordinate. W is always assumed to represent transparency.

## Constructors

- [YxyGram](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/ctor.md): (2 overloads) Create a new chromaticity diagram.

## Properties

- [Colour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/colour.md)
- [Coordinate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/coordinate.md)
- [Filter](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/filter.md)
- [Format](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/format.md)
- [Icon](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/icon.md)
- [Nomen](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/nomen.md)
- [Pivot](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/pivot.md)
- [ProjectedPivot](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/projectedpivot.md)
- [Zoom](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/zoom.md)

## Methods

- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/draw.md)
- [IColourSpace.GetChannels](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/grasshopper2-ui-colourpicker-models-icolourspace-getchannels.md)
- [IColourSpace.RespondToMouseDown](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/grasshopper2-ui-colourpicker-models-icolourspace-respondtomousedown.md)
- [IColourSpace.RespondToMouseMove](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/grasshopper2-ui-colourpicker-models-icolourspace-respondtomousemove.md)
- [IColourSpace.RespondToMouseUp](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/grasshopper2-ui-colourpicker-models-icolourspace-respondtomouseup.md)
- [IColourSpace.SetChannels](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/grasshopper2-ui-colourpicker-models-icolourspace-setchannels.md)
- [SetColour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.yxygram/setcolour.md)
