Skip to main content

Foundation

Color System

Color plays a key role in creating products with effective interfaces and user experiences.

banner-Color System
Square Icon

Selected Theme

Select brand or tribe name to preview style

Default

Usage

Colors system leverages a purposeful set of color styles as the perfect starting point for any brand or project. When it comes to color, contrast is critical for ensuring text is legible.

Default LegionUI

import LegionUI
Color.LGNTheme.<colorCode>

Theme

import LegionUI
LGNColor.<colorCode>

Primary Colors

The primary color is your “brand” color, and is used across all interactive elements such as buttons, links, inputs, etc. This color can define the overall feel and can elicit emotion.

primary25
primary50
primary100
primary200
primary300
primary400
primary500
primary600
primary700
primary800
primary900

Primary Colors Default LegionUI

Color.LGNTheme.primary
Color.LGNTheme.primary25
Color.LGNTheme.primary50
Color.LGNTheme.primary100
Color.LGNTheme.primary200
Color.LGNTheme.primary300
Color.LGNTheme.primary400
Color.LGNTheme.primary500
Color.LGNTheme.primary600

Primary Colors Theme

LGNColor.primary
LGNColor.primary25
LGNColor.primary50
LGNColor.primary100
LGNColor.primary200
LGNColor.primary300
LGNColor.primary400
LGNColor.primary500
LGNColor.primary600


Secondary Colors

The secondary colors is color highlight or complement the primary color. These are to be used sparingly to make the UI elements stand out. These colors are also usually defined in the brand guidelines.

secondary25
secondary50
secondary100
secondary200
secondary300
secondary400
secondary500
secondary600
secondary700
secondary800
secondary900

Secondary Colors Default LegionUI

Color.LGNTheme.secondary25
Color.LGNTheme.secondary50
Color.LGNTheme.secondary100
Color.LGNTheme.secondary200
Color.LGNTheme.secondary300
Color.LGNTheme.secondary400
Color.LGNTheme.secondary500
Color.LGNTheme.secondary600
Color.LGNTheme.secondary700

Secondary Colors Theme

LGNColor.secondary25
LGNColor.secondary50
LGNColor.secondary100
LGNColor.secondary200
LGNColor.secondary300
LGNColor.secondary400
LGNColor.secondary500
LGNColor.secondary600
LGNColor.secondary700


Tertiary Colors

The tertiary color is a neutral color and is the foundation of the color system. Almost everything in UI design — text, form fields, backgrounds, dividers, outline card — are usually gray.

tertiary25
tertiary50
tertiary100
tertiary200
tertiary300
tertiary400
tertiary500
tertiary600
tertiary700
tertiary800
tertiary900

Tertiary Colors Default LegionUI

Color.LGNTheme.tertiary25
Color.LGNTheme.tertiary50
Color.LGNTheme.tertiary100
Color.LGNTheme.tertiary200
Color.LGNTheme.tertiary300
Color.LGNTheme.tertiary400
Color.LGNTheme.tertiary500
Color.LGNTheme.tertiary600
Color.LGNTheme.tertiary700

Tertiary Colors Theme

LGNColor.tertiary25
LGNColor.tertiary50
LGNColor.tertiary100
LGNColor.tertiary200
LGNColor.tertiary300
LGNColor.tertiary400
LGNColor.tertiary500
LGNColor.tertiary600
LGNColor.tertiary700


Semantic Colors

Semantic colours communicate important status to the user such as success, information, warning or error. These colours should be used paired with text, an icon or both to fulfill their purpose in the best way possible.

Success

Success colors communicate a positive action, postive trend, or a successful confirmation. If you’re using green as your primary color, it can be helpful to introduce a different hue for your success green.

success25
success50
success100
success200
success300
success400
success500
success600
success700
success800
success900

Success Colors Default LegionUI

Color.LGNTheme.success25
Color.LGNTheme.success50
Color.LGNTheme.success100
Color.LGNTheme.success200
Color.LGNTheme.success300
Color.LGNTheme.success400
Color.LGNTheme.success500
Color.LGNTheme.success600
Color.LGNTheme.success700

Success Colors Theme

LGNColor.success25
LGNColor.success50
LGNColor.success100
LGNColor.success200
LGNColor.success300
LGNColor.success400
LGNColor.success500
LGNColor.success600
LGNColor.success700


Warning

Warning colors can communicate that an action is potentially destructive or “on-hold”. These colors are commonly used in confirmations to grab the users’ attention.

warning25
warning50
warning100
warning200
warning300
warning400
warning500
warning600
warning700
warning800
warning900

Warning Colors Default LegionUI

Color.LGNTheme.warning25
Color.LGNTheme.warning50
Color.LGNTheme.warning100
Color.LGNTheme.warning200
Color.LGNTheme.warning300
Color.LGNTheme.warning400
Color.LGNTheme.warning500
Color.LGNTheme.warning600
Color.LGNTheme.warning700

Warning Colors Theme

LGNColor.warning25
LGNColor.warning50
LGNColor.warning100
LGNColor.warning200
LGNColor.warning300
LGNColor.warning400
LGNColor.warning500
LGNColor.warning600
LGNColor.warning700


Information

Infomation colors can communicate that an action is informative section or
these colors are commonly used in awareness for users’ attention.

info25
info50
info100
info200
info300
info400
info500
info600
info700
info800
info900

Infromation Color Default LegionUI

Color.LGNTheme.information25
Color.LGNTheme.information50
Color.LGNTheme.information100
Color.LGNTheme.information200
Color.LGNTheme.information300
Color.LGNTheme.information400
Color.LGNTheme.information500
Color.LGNTheme.information600
Color.LGNTheme.information700

Information Color Theme

LGNColor.information25
LGNColor.information50
LGNColor.information100
LGNColor.information200
LGNColor.information300
LGNColor.information400
LGNColor.information500
LGNColor.information600
LGNColor.information700


Error

Error colors are used across error states and in “destructive” actions. They communicate a destructive/negative action, such as removing a user from your team.

error25
error50
error100
error200
error300
error400
error500
error600
error700
error800
error900

Error Colors Default LegionUI

Color.LGNTheme.error25
Color.LGNTheme.error50
Color.LGNTheme.error100
Color.LGNTheme.error200
Color.LGNTheme.error300
Color.LGNTheme.error400
Color.LGNTheme.error500
Color.LGNTheme.error600
Color.LGNTheme.error700

Error Colors Theme

LGNColor.error25
LGNColor.error50
LGNColor.error100
LGNColor.error200
LGNColor.error300
LGNColor.error400
LGNColor.error500
LGNColor.error600
LGNColor.error700