Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Style Color
This document is a preview.

Color

Color is inspired by bold color statements juxtaposed with muted environments, taking cues from contemporary architecture, road signs, pavement marking tape, and sports courts. Emphasize bold shadows and highlights. Introduce unexpected and vibrant colors.

UI Color Palette Expand and collapse content An arrow that points down when collapsed and points up when expanded.

The color palette starts with primary colors and fills in the spectrum to create a complete and usable palette for Android, Web, and iOS. The primary colors are the 500 range.

UI Color Application Expand and collapse content An arrow that points down when collapsed and points up when expanded.

Choose your palette

Limit your choice of colors by choosing three color hues in the primary and one accent color in the secondary palette. The accent color may or may not need fall back options

Use alpha values for grey text, icons, and dividers

To effectively convey the hierarchy of information, use different shades for text. The standard alpha value for text on a white background is 87% (#000000). Secondary text, which is lower in the visual hierarchy, should have an alpha value of 54% (#000000). Text hints for users, like those in text fields and labels, have an even lower visual prominence and should have an alpha value of 26% (#000000).

Other elements, such as icons and dividers, also benefit from having an alpha value of black instead of a solid color, to make sure that they work on backgrounds of any color.

For white or black text on colored backgrounds, see these tables of color palettes for the appropriate contrast ratios and alpha values.

Bold use of color in large fields in the UI is strongly encouraged. Different elements in the UI will take on different parts of the color theme. Toolbars and larger color blocks will take on the primary 500. This is the main color of your app. The status bar should be the darker 700 tint of your primary color.

Accent color

The vibrant accent color are used for your primary action buttons as well as components such as switchers or sliders. Left aligned section icons or section titles can also take on the accent color

Fallback accent colors

If your accent color is too light or dark for the background color the general fallback rule is to choose a darker or lighter tint of the accent color. If your accent color doesn̢۪t work at all, fall back to use the primary 500 color on white backgrounds. If the background color is the primary 500 color, fall back to white 100% or black 54%.

Themes Expand and collapse content An arrow that points down when collapsed and points up when expanded.

Themes are a way to apply a consistent tone to an app. The style specifies the darkness of the surfaces, level of shadow, and appropriate opacity of ink elements. To promote greater consistency between apps, two themes are available:

  • Light
  • Dark