A color wheel is a combination of a circular track, which allows users to select a hue from a range of 0 to 360 degrees, and a color area inside.
While the thickness of the color wheel’s track is fixed (24 px on desktop, 30 px on mobile), the radius of the track is flexible and can be customized appropriately for its context. The color area inside is designed to automatically adjust to the size of the track.
On down (touch), a loupe appears above the handle to show the selected color that would otherwise be covered by the finger. This only appears on finger input, not mouse or stylus. It appears 10 px above the edge of the handle on desktop scale and 8 px on mobile scale.
When using color areas, it’s important to clearly display the color selection in real-time. It can be in a color swatch, or directly on the canvas, or both.
The color wheel’s track should only be used for selecting hues. Unlike color sliders, it should not be used for color channel values or opacity.
|Tab||Places focus on the handle. If the handle is already in focus, moves focus to the next element in the page tab sequence.|
|Shift + Tab||Places focus on the previous element in the page tab sequence.|
|Right Arrow||Moves the handle clockwise.|
|Left Arrow||Moves the handle counter-clockwise.|
|Mar 26, 2020||1.0.1|
|Apr 19, 2019||1.0.0|
Includes all interactive states that are applicable (hover, down, focus, keyboard focus, disabled).
Includes relevant options (variant, style, size, orientation, optional iconography, decorations, selection, error state, etc.)
Works properly across all four color themes (lightest, light, dark, darkest).
Includes a desktop scale (UWP, macOS, web desktop) and a mobile scale (iOS, Android, web mobile).
Includes guidelines for layout (wrapping, truncation, overflow), animation, interactions, etc.
Includes a list of dos and don’ts that highlight best practices and common mistakes.
Follows WCAG 2.0 standards for contrast (AA).
Works properly across various locales and includes guidelines for bi-directionality (RTL).
Follows WCAG 2.0 standards for keyboard accessibility guidelines and includes a description of the keyboard interactions.
Includes a downloadable XD file that has been generated by code and shows multiple variations, states, color themes, and scales.
All design attributes (color, typography, layout, animation, etc.) are included in Spectrum DNA.