Vistaprint

Color

Color Palette

Visage starts with a base palette, used for the Visage UI components and typography. Then we add a secondary "rainbow" palette, used for marketing purposes, such as the background colors of banners and heroes.

The colors "holiday", "error", and "discount" should be used only for the purposes indicated by their names.

Base paletteRainbow palette
Black
Charcoal
Dark Grey
Medium Grey
Light Grey
White
Ocean Blue
Sky Blue
Light Blue
Error
Holiday
Holiday beige 1
Holiday green 1
Holiday green 2
Holiday red 1
Holiday red 2
Light-Pink
Emerald
Medium Green
Medium Yellow
Discount
Scarlet
Mandarin
Rum
Pumpkin
Medium Yellow
Caspian
Celtic
Medium Green
Emerald
Opal
Talavera
Atlantic
Kingfisher
Rio
Santorini
Ultramarine
Iris
Violet
Graphite
Dark Grey
Medium Grey
Platinum
Light Grey

In Code

In your page code, you should rarely need to reference a particular color by name. Instead, Visage offers semantic color names in its design tokens and CSS custom properties. This allows you to reference a color by what it's used for -- and when the site rebrands, your page will pick up the new colors automatically.

Code hooks for semantic colors

ExampleSCSSCSS custom property
Global font color$global-font-color--visage-font-base-color
Link color$link-color--visage-link-font-color
Selected color (for input elements that are selected) $selected-color--visage-color-selected
Border color$border-color--visage-color-border
Discount color$discount-color--visage-color-discount
Error color$error-color--visage-color-error
Holiday color$holiday-color--visage-color-holiday

Background Color

Visage supports changing the background color of an element to one of a set of colors from our palette.

Note: setting the background color will not automatically change the text color! If you are using a dark background color, you will need to make sure you maintain a 4.5:1 contrast between text and color, such as by setting the font color with Typography, or by using "Dark Mode" on the element (see below).

Playground

Scarlet (dark mode)
Mandarin (dark mode)
Rum (dark mode)
Pumpkin (dark mode)
Medium Yellow
Caspian (dark mode)
Celtic (dark mode)
Medium Green (dark mode)
Emerald (dark mode)
Opal
Talavera (dark mode)
Atlantic (dark mode)
Kingfisher (dark mode)
Rio
Santorini (dark mode)
Ultramarine (dark mode)
Iris (dark mode)
Violet (dark mode)
Graphite (dark mode)
Dark Grey (dark mode)
Medium Grey
Platinum
Light Grey
white (shown inside a blue section so that you can see the white)
Loading Shimmer
This is a Card component that's using Background Color to set its background to light grey, overriding its default white background.

React

In React, you can use the backgroundColor prop on any component to change the background color.

Vanilla

markup
<div class="background-light-blue">
<!-- can be any tag, not just div -->
content goes here
</div>

Guidelines

Designer Guidelines

The "loading-shimmer" background is for sections of pages that are currently loading, such as skeleton screens. Typically a section with this background will not have any content inside of it.

Accessibility Guidelines

All text must have at least a 4.5:1 contrast ratio with its background, so remember to set your text color appropriately.

SEO Considerations

A background color must be really different from the text on the top of it. Displaying text with the same or similar color as the background (e.g. light grey text on a white background) may generate a penalty from Google, as this will be considered hidden content.

Text color

dark-grey
white
holiday
error
alert
Share
Share
jsx
<!-- doesn't have to a be a div tag; use on any tag -->
<div class="text-color-holiday">holiday</div>

Dark Mode

If your page content is on top of a dark background, such as a dark backgroundColor (see above) or a dark-colored image, Visage supports a "dark mode" that can be placed on an element. Dark Mode will change the text color to white, and also change the colors of the Visage components to ensure a correct color contrast.

This box shows Dark Mode on a "Violet" background.

Share
Share
jsx
<div class="dark-mode background-caspian">
<p>This box shows Dark Mode on a background with color "caspian".</p>
<button class="textbutton-skin-primary textbutton">Sample button</button>
</div>