Intro

You can use the color palette to let users choose a color from a predefined set of colors. The colors are fixed and do not change with the theme.
Color palette

Usage

Use the color palette if:

Do not use the color palette if:

Responsiveness

The color palette supports cozy and compact content densities.

Size S
Size M
Size L

Components

The color palette consists of 2 to 15 color buttons.
Color palette with two color buttons

Behavior and Interaction

Users can select a color with the left mouse button, the tap gesture, or by pressing SPACE or ENTER on a keyboard. The selected color is not indicated in the control itself.

Hovering over a color provides a visual feedback.
Visual feedback on hover

To navigate between different colors on a keyboard, use the arrow keys.

Guidelines

Resources

Want to dive deeper? Follow the links below to find out more about related controls, the SAPUI5 implementation, and the visual design.

Elements and Controls

Implementation

Visual Design