Design
The colour picker lets users choose a colour option, such as the exterior paint of a vehicle in the configurator. Each colour swatch shows the actual colour or finish of the option it represents, giving users a true-to-life preview before they commit. Only one swatch in a group can be selected at a time.
Anatomy
Section titled “Anatomy”- Selected swatch
- Swatch
- Label
When to use it
Section titled “When to use it”Use a colour picker when:
- Colour is the decision. Visual colour recognition is the main thing users choose on, for example paint or interior trim colours.
- Users need a true-to-life preview. The swatch shows the real colour or finish before they commit.
Use a different selector when:
- The options aren’t colours. Grades, trim levels or packages need a selector that names them.
Properties
Section titled “Properties”Size
The swatch comes in Small (24 px), Medium (36 px, the default), Large (44 px) and Extra large (56 px). Don’t mix sizes within one group.
State
Rested shows a translucent border, so light colours stand out from the page. Hover and Focus draw a ring around the swatch, Selected draws it in the primary colour, and Disabled fades the swatch to half opacity.
Scheme
On a contrast background, the swatches sit on a light surface, and the label moves above them.
Label
The label shows the name of the selected colour. It’s optional, but the colour name must then be visible elsewhere.
Best practices
Section titled “Best practices”Do
Accompany the group with a visible label showing the selected colour name, in plain language (for example “Midnight Black”). Use images that truthfully represent the real colour or finish. Use Medium as the default size unless the context requires otherwise.
Don't
Don’t use swatches for options that aren’t colours. Don’t show internal product codes as the visible label. Don’t place swatches on busy or patterned backgrounds, or on a colour that resembles the swatch.