Skip to content

AccessibleColor

16.9

Shared - used by classes in UI and HUD and Game modes.

Class Documentation

Edit documentation

A color with an optional colorblind variant. A reader takes colorblindColor when it is set and the client uses its colorblind palette, and DefaultColor otherwise.

TeamColorsConfig stores its team colors this way.

Properties

DefaultColor

Color = [0, 0, 0, 255]
Edit documentation

The color outside the colorblind palette. Also used in the colorblind palette when colorblindColor is not set.

colorblindColor

Option<Color> = null
Edit documentation

The color while the client uses its colorblind palette.

Referenced by 3 classes · 3 properties