# UiTintAttribute class

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

```cs
[AttributeUsage(AttributeTargets.All, AllowMultiple = false)]
public sealed class UiTintAttribute : Attribute
```

Assign this attribute to types or values if they are associated with a specific colour.

## Constructors

- [UiTintAttribute](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.uitintattribute/ctor.md): Create a new attribute

## Properties

- [Tint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.uitintattribute/tint.md): Gets the user-interface colour.

## Methods

- [Harvest<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.uitintattribute/harvest.md): (static)
