> 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/api/csharp/yarn.unity/yarn.unity.markuppalette/yarn.unity.markuppalette.colorformarker.md).

# ColorForMarker(string,Color)

Method in [MarkupPalette](/api/csharp/yarn.unity/yarn.unity.markuppalette.md)

## Summary

Determines the colour for a particular marker inside this palette.

```csharp
public bool ColorForMarker(string Marker, out Color colour)
```

## Parameters

| Name            | Description                                                                                                                                             |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `string` Marker | The marker you want to get a colour for.                                                                                                                |
| `Color` colour  | The colour of the marker, or `UnityEngine.Color.black` if it doesn't exist in the [MarkupPalette](/api/csharp/yarn.unity/yarn.unity.markuppalette.md) . |

## Returns

`true` if the marker exists within this palette; `false` otherwise.
