Current version 22.0.0

Color

Here are the guidelines on how we implement colour in code. This page should be used alongside Trade Me’s full colour palette.

UI Grey variables

Our use of UI (user interface) greys helps users to easily understand hierarchy of elements on a page, and to identify form elements that are being interacted with. As a warm, neutral tone, Bluff Oyster has been chosen for our UI greys from our Trade Me colour palette.

Example

Example

$tg-ui-grey-extra-extra-dark

Used to aid navigation, for example to indicate a selected tab.

Example

$tg-ui-grey-extra-dark

Used to indicate focus, for example on selected form elements.

Example

$tg-ui-grey-dark

Example

$tg-ui-grey-medium

Default variable for unselected form elements.

Example

$tg-ui-grey-light

Primarily used to separate content, for example row dividers in tables.

Example

$tg-ui-grey-extra-light

Used as a background colour for neutral interactive content, such as default buttons.

Example

$tg-ui-grey-background

An alternative background colour to white. Used to indicate separate sections of content on a page, for example in box. Also used to indicate disabled form fields.

Validation color variables

We have consistent colours to represent validation success or failure. These variables are used for validation messaging across Tangram form components.

Example

Example

$tg-validation-success

Example

$tg-validation-fail

Brand color variables

Example

Brand color variables coming soon! In the meantime, the #tangram Slack channel is always available for support.

Color stamp

import { TgColorStampComponent } from '@trademe/tangram';

A static, visual way of representing colour options. For an interactive version, use a color picker.

Example

Proudly made by © 2026 Trade Me Limited