> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.5/api/csharp/yarn.unity/yarn.unity.markuppalette.md).

# MarkupPalette

Class in [Yarn.Unity](/2.5/api/csharp/yarn.unity.md)

Inherits from `UnityEngine.ScriptableObject`

## Summary

Represents a collection of marker names and colours.

```csharp
public class MarkupPalette : ScriptableObject
```

## Remarks

This is intended to be used with the LineView, and also be a sample of using the markup system.

## Fields

| Name                                                                                                           | Description                                  |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| [ColourMarkers](/2.5/api/csharp/yarn.unity/yarn.unity.markuppalette/yarn.unity.markuppalette.colourmarkers.md) | The collection of colour markers inside this |

## Methods

| Name                                                                                                                           | Description                                                        |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------ |
| [ColorForMarker(string,Color)](/2.5/api/csharp/yarn.unity/yarn.unity.markuppalette/yarn.unity.markuppalette.colorformarker.md) | Determines the colour for a particular marker inside this palette. |

## Structs

| Name                                                                                                       | Description |
| ---------------------------------------------------------------------------------------------------------- | ----------- |
| [ColorMarker](/2.5/api/csharp/yarn.unity/yarn.unity.markuppalette/yarn.unity.markuppalette.colormarker.md) |             |
