Skip to main content
Figuration v3 Preview Available!
Content

Styles for displaying content with some of the most commonly used HTML elements, including normalization, typography, images, tables, buttons, forms, and more.

Color

Figuration offers some simple color palettes extended from our base colors, similar to the concept by Google’s Material color palettes.

Since our base colors tend to be dark, to mostly comply with accessible text contrast ratios of 4.5:1 on a white background, the lighter side (<500 levels) of the palette has a larger interval than the darker side (>500 levels) to compensate. Please note that the warning/mustard color is not compliant with a 4.5:1 contrast ratio, and is not particularly suited for use as a text color.

These can used for text or background colors. If applied to links, the colors will darken on hover. Foregound items use the class format .text-blue-500 and background items use .bg-blue-500.

gray

500
50
100
200
300
400
500
600
700
800
900

red

500
50
100
200
300
400
500
600
700
800
900

green

500
50
100
200
300
400
500
600
700
800
900

blue

500
50
100
200
300
400
500
600
700
800
900

cyan

500
50
100
200
300
400
500
600
700
800
900

mustard

500
50
100
200
300
400
500
600
700
800
900

Conveying Meaning to Assistive Technologies

Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies—such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the .sr-only class.