Table of Contents

Method ColorString

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ColorString(string, Color)

Wraps the specified text in a NWN color token string.

public static string ColorString(this string input, Color color)

Parameters

input string

The text to wrap.

color Color

The color to apply via token.

Returns

string

The formatted color token string.