Table of Contents

Class ArenaTeamColors

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

The colours arena teams are drawn in when a template does not author its own.

public static class ArenaTeamColors
Inheritance
ArenaTeamColors
Inherited Members

Remarks

Chosen to stay distinct from the faction colours the open world uses — green for ally, red for enemy, sky blue for neutral — so an arena never looks like a faction fight: team one is a saturated blue, team two an orange-red, and the rest are spaced around the wheel. A template lists its own TeamColors to override any of these.

Fields

Defaults

Palette by team index. Indices past the end wrap.

public static readonly Color[] Defaults

Field Value

Color[]

Methods

Default(int)

The default colour for a team index. Negative indices are neutral grey.

public static Color Default(int team)

Parameters

team int

Returns

Color

ToHex(Color)

A CSS-style hex string for rich text, e.g. #4C8CFF.

public static string ToHex(Color color)

Parameters

color Color

Returns

string