ColorScheme

Use these methods to get the game’s color scheme.

Static methods

Method

Description

GetTeamColor(team)

Returns the main color of a specific team.

GetTeamColorBrighter(team)

Returns a brighter color of a specific team.

RichTextColorTag(color)

Returns a rich text color tag such as <color=blue> for a specified color.

Details

class ColorScheme
static Color GetTeamColor(Team team)

Returns the main color of a specific team.

static Color GetTeamColorBrighter(Team team)

Returns a brighter color of a specific team. Useful for UI elements that need to be bright such as text and icons.

static string RichTextColorTag(Color color)

Returns a rich text color tag such as <color=blue> for a specified color.