# Shades class

Namespace: [Grasshopper2.UI.Skinning](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.skinning.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class Shades : IStorable
```

A collection of related shades.

## Constructors

- [Shades](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.skinning.shades/ctor.md): (2 overloads) Deserialisation constructor.

## Fields

- [DefaultDim](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.skinning.shades/defaultdim.md): (static) Gets the default shading scheme in dark mode.
- [DefaultLit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.skinning.shades/defaultlit.md): (static) Gets the default shading scheme in bright mode.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.skinning.shades/item.md): (3 overloads) Figure out the most appropriate shade for a given object.

## Methods

- [Fade](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.skinning.shades/fade.md): Multiply the alpha value colours in this collection with the given factor.
- [Interpolate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.skinning.shades/interpolate.md): Interpolate between schemes.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.skinning.shades/store.md): This method is called whenever the instance is required to serialize itself.
- [With](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.skinning.shades/with.md): Modify one of the colours.
