# AssetColourExtensions class

Namespace: [Grasshopper2.Types.Shapes](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.shapes.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public static class AssetColourExtensions
```

## Methods

- [Darken](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetcolourextensions/darken.md): (static) Convert an asset colour into an Eto.Drawing.Color with an additional darkening adjustment.
- [Decode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetcolourextensions/decode.md): (static) Figure out which asset colour (if any) an Eto colour indicates.
- [Encode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetcolourextensions/encode.md): (2 overloads, static) Encode an asset colour and luminance adjustment factor into an Eto.Drawing.Color.
- [Lighten](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.assetcolourextensions/lighten.md): (static) Convert an asset colour into an Eto.Drawing.Color with an additional lightening adjustment.
