Using color in product

For product UI like buttons, alert notices, signals, and error states, we use a subset of our full color palette. We mainly use shades of green, blue, red, and neutral to educate, guide, alert, and celebrate our users as they move through our product.

Four mobile eBay screens showcasing the different use cases of colors in eBay UI. First screen showcases the Performance section of the app, with various colors used in graph elements. The second screen shows a listings page a green alert notice banner with item tiles below. The third screen showcases item and image tiles with illustrations and product imagery. The fourth screen shows a featured events section with a yellow banner and product imagery.

Product palette

Product color strategy

Red, blue, and green are used semantically to indicate the sentiments of urgency, trust, and success/recency. Neutral is used to display informational hierarchy and statefulness.

Color tokens

Color tokens represent repeated decisions about how color is displayed throughout our system and provide ways to apply them consistently. They replace raw values with meaningful labels that convey intention. This ensures that color is used appropriately and remains accessible in any given context. To learn more, see Color tokens.

Modes

If we consistently use semantic tokens, changing from light to dark mode is automatic. Each color or color combination has a dark-mode equivalent. Simply change modes to see light- vs. dark-mode colors.

Themes

Theming allows the definition of semantic token mappings by context, so semantic tokens can be used consistently throughout designs.

Other color libraries

We use a few additional color palettes in our product for things like data visualization and in-product marketing.

Best practices

Resources