Colors

Below are examples of utility classes for different purposes, text colors, and link colors with hover states. These examples are inspired by popular CSS frameworks like Bootstrap and Tailwind CSS.

<h2>Text Colors</h2>
    <p class="text-primary">This text is primary.</p>
    <p class="text-secondary">This text is secondary.</p>
    <p class="text-error">This text indicates an error.</p>
    <p class="text-info">This text provides information.</p>
    <p class="text-blue">This text is blue.</p>
    <p class="text-red">This text is red.</p>
    <p class="text-yellow">This text is yellow.</p>
    <p class="text-green">This text is green.</p>
    <p class="text-orange">This text is orange.</p>
    <p class="text-purple">This text is purple.</p>
    <p class="text-gray">This text is gray.</p>
    <p class="text-black">This text is black.</p>
    <p class="text-white bg-black">This text is white on black.</p>

Hover Text Colours

Hover Text Colour Light & Dark Variation

Last updated