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

# ColorForMarker(string,Color)

Method in [MarkupPalette](/2.5/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 of which you are covetous of it's colour.    |
| `Color` colour  | The colour of the marker, or black if it doesn't exist. |

## Returns

True if the marker exists within this palette.
