Color Utilities

Text Color

UtilityExample
text-blue
The quick brown fox jumped over the lazy dog.
text-indigo
The quick brown fox jumped over the lazy dog.
text-purple
The quick brown fox jumped over the lazy dog.
text-pink
The quick brown fox jumped over the lazy dog.
text-red
The quick brown fox jumped over the lazy dog.
text-orange
The quick brown fox jumped over the lazy dog.
text-yellow
The quick brown fox jumped over the lazy dog.
text-green
The quick brown fox jumped over the lazy dog.
text-teal
The quick brown fox jumped over the lazy dog.
text-cyan
The quick brown fox jumped over the lazy dog.
text-primary
The quick brown fox jumped over the lazy dog.
text-secondary
The quick brown fox jumped over the lazy dog.
text-success
The quick brown fox jumped over the lazy dog.
text-info
The quick brown fox jumped over the lazy dog.
text-warning
The quick brown fox jumped over the lazy dog.
text-danger
The quick brown fox jumped over the lazy dog.
text-dark
The quick brown fox jumped over the lazy dog.
text-light
The quick brown fox jumped over the lazy dog.
text-muted
The quick brown fox jumped over the lazy dog.
text-white
The quick brown fox jumped over the lazy dog.
text-black-50
The quick brown fox jumped over the lazy dog.
text-white-50
The quick brown fox jumped over the lazy dog.
text-reset
The quick brown fox jumped over the lazy dog. This sets color: inherit !important.

Snippet

Text color utilities applied to anchor tags. These styles will only be output if a text color has hover state styles.

Snippet

Text Color Sass API

The map $text-theme-colors allows generating any number of text color variants. If a key starts with ., # or %, Clay will output it as is, otherwise we will prepend .text- to the key (e.g., .text-primary).

Snippet

Outputs:

Snippet

Background Color

UtilityExample
bg-blueThe quick brown fox jumped over the lazy dog.
bg-indigoThe quick brown fox jumped over the lazy dog.
bg-purpleThe quick brown fox jumped over the lazy dog.
bg-pinkThe quick brown fox jumped over the lazy dog.
bg-redThe quick brown fox jumped over the lazy dog.
bg-orangeThe quick brown fox jumped over the lazy dog.
bg-yellowThe quick brown fox jumped over the lazy dog.
bg-greenThe quick brown fox jumped over the lazy dog.
bg-tealThe quick brown fox jumped over the lazy dog.
bg-cyanThe quick brown fox jumped over the lazy dog.
bg-primaryThe quick brown fox jumped over the lazy dog.
bg-secondaryThe quick brown fox jumped over the lazy dog.
bg-successThe quick brown fox jumped over the lazy dog.
bg-infoThe quick brown fox jumped over the lazy dog.
bg-warningThe quick brown fox jumped over the lazy dog.
bg-dangerThe quick brown fox jumped over the lazy dog.
bg-darkThe quick brown fox jumped over the lazy dog.
bg-lightThe quick brown fox jumped over the lazy dog.
bg-whiteThe quick brown fox jumped over the lazy dog.
bg-transparentThe quick brown fox jumped over the lazy dog.

Snippet

Background Color Sass API

The map $bg-theme-colors allows generating any number of background color variants. If a key starts with ., # or %, Clay will output it as is, otherwise we will prepend .bg- to the key (e.g., .bg-primary).

Snippet

Outputs:

Snippet

Edit this page on GitHub

Contributors

Matuzalém Teles

Last edited May 9, 2025 at 6:15:38 AM