# NamedColour class

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

```cs
public sealed class NamedColour : IStorable
```

A (mostly) immutable named colour.

## Constructors

- [NamedColour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/ctor.md): (3 overloads) Deserialization constructor

## Properties

- [Adjectives](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/adjectives.md): Gets the adjective associated with this entity. I.e. "reddish", or "blackish".
- [Alternates](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/alternates.md): Gets all the different spellings associated with this colour. The first spelling is identical to the 'official' name, subsequent entries are considered alternate spellings (i.e. "grey" and "gray").
- [Colour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/colour.md): Gets the colour associated with this entity.
- [Footnote](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/footnote.md): Gets the author comments associated with this entity.
- [Importance](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/importance.md): Gets or sets the linguistic importance of this colour. This is the only mutable property of this type, a pattern forced upon me by the Eto controls.
- [Name](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/name.md): Gets the name associated with this entity.
- [Source](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/source.md): Gets the category under which this entity is grouped.
- [Timestamp](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/timestamp.md): Gets the timestamp for when this colour was created.

## Methods

- [FromString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/fromstring.md): (static) Parse a string as a linguistic colour entity. The format must be the same as the result of the ToString() method. This method throws exceptions if the format is not valid.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/store.md): This method is called whenever the instance is required to serialize itself.
- [ToAdjectivesString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/toadjectivesstring.md): Create a name string including all alternate spellings.
- [ToNamesString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/tonamesstring.md): Create a name string including all alternate spellings.
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/tostring.md): Returns a string that represents the current object.
- [TryMerge](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.colour.namedcolour/trymerge.md): (static) Attempt to losslessly merge two colours. For two colours to be mergeable they must have the same name and the exact same colour. Alternate names, adjectives, sources and footnotes will be combined.
