Skip to content

Text Color

Controls the text color of an element.

Utility Properties

tc-red-1

color: rgb(249, 224, 224);

tc-red-2

color: rgb(243, 197, 197);

tc-red-3

color: rgb(237, 170, 170);

tc-red-4

color: rgb(232, 142, 142);

tc-red-5

color: rgb(226, 115, 115);

tc-red-6

color: rgb(221, 88, 88);

tc-red

color: rgb(215, 61, 61);

tc-red-7

color: rgb(185, 52, 52);

tc-red-8

color: rgb(155, 44, 44);

tc-red-9

color: rgb(125, 35, 35);

tc-red-10

color: rgb(95, 27, 27);

tc-red-11

color: rgb(65, 18, 18);

tc-red-12

color: rgb(34, 10, 10);

tc-orange-1

color: rgb(250, 231, 217);

tc-orange-2

color: rgb(246, 210, 185);

tc-orange-3

color: rgb(241, 189, 152);

tc-orange-4

color: rgb(237, 167, 119);

tc-orange-5

color: rgb(233, 146, 86);

tc-orange-6

color: rgb(228, 125, 53);

tc-orange

color: rgb(224, 104, 20);

tc-orange-7

color: rgb(193, 89, 17);

tc-orange-8

color: rgb(161, 75, 14);

tc-orange-9

color: rgb(130, 60, 12);

tc-orange-10

color: rgb(99, 46, 9);

tc-orange-11

color: rgb(67, 31, 6);

tc-orange-12

color: rgb(36, 17, 3);

tc-yellow-1

color: rgb(248, 240, 215);

tc-yellow-2

color: rgb(242, 227, 181);

tc-yellow-3

color: rgb(236, 214, 146);

tc-yellow-4

color: rgb(229, 200, 111);

tc-yellow-5

color: rgb(223, 187, 76);

tc-yellow-6

color: rgb(217, 174, 42);

tc-yellow

color: rgb(211, 161, 7);

tc-yellow-7

color: rgb(181, 138, 6);

tc-yellow-8

color: rgb(152, 116, 5);

tc-yellow-9

color: rgb(122, 93, 4);

tc-yellow-10

color: rgb(93, 71, 3);

tc-yellow-11

color: rgb(63, 48, 2);

tc-yellow-12

color: rgb(34, 26, 1);

tc-green-1

color: rgb(219, 243, 228);

tc-green-2

color: rgb(188, 232, 204);

tc-green-3

color: rgb(156, 221, 180);

tc-green-4

color: rgb(125, 210, 156);

tc-green-5

color: rgb(94, 199, 133);

tc-green-6

color: rgb(62, 188, 109);

tc-green

color: rgb(31, 177, 85);

tc-green-7

color: rgb(27, 152, 73);

tc-green-8

color: rgb(22, 127, 61);

tc-green-9

color: rgb(18, 103, 49);

tc-green-10

color: rgb(14, 78, 37);

tc-green-11

color: rgb(9, 53, 26);

tc-green-12

color: rgb(5, 28, 14);

tc-teal-1

color: rgb(217, 241, 238);

tc-teal-2

color: rgb(184, 228, 223);

tc-teal-3

color: rgb(151, 216, 208);

tc-teal-4

color: rgb(118, 203, 194);

tc-teal-5

color: rgb(84, 191, 179);

tc-teal-6

color: rgb(51, 178, 164);

tc-teal

color: rgb(18, 166, 149);

tc-teal-7

color: rgb(15, 143, 128);

tc-teal-8

color: rgb(13, 120, 107);

tc-teal-9

color: rgb(10, 96, 86);

tc-teal-10

color: rgb(8, 73, 66);

tc-teal-11

color: rgb(5, 50, 45);

tc-teal-12

color: rgb(3, 27, 24);

tc-cyan-1

color: rgb(215, 240, 245);

tc-cyan-2

color: rgb(180, 228, 236);

tc-cyan-3

color: rgb(145, 215, 227);

tc-cyan-4

color: rgb(110, 202, 218);

tc-cyan-5

color: rgb(75, 189, 209);

tc-cyan-6

color: rgb(40, 177, 200);

tc-cyan

color: rgb(5, 164, 191);

tc-cyan-7

color: rgb(4, 141, 164);

tc-cyan-8

color: rgb(4, 118, 138);

tc-cyan-9

color: rgb(3, 95, 111);

tc-cyan-10

color: rgb(2, 72, 84);

tc-cyan-11

color: rgb(2, 49, 57);

tc-cyan-12

color: rgb(1, 26, 31);

tc-blue-1

color: rgb(223, 233, 250);

tc-blue-2

color: rgb(194, 214, 245);

tc-blue-3

color: rgb(166, 194, 240);

tc-blue-4

color: rgb(138, 175, 235);

tc-blue-5

color: rgb(110, 156, 231);

tc-blue-6

color: rgb(81, 136, 226);

tc-blue

color: rgb(53, 117, 221);

tc-blue-7

color: rgb(46, 101, 190);

tc-blue-8

color: rgb(38, 84, 159);

tc-blue-9

color: rgb(31, 68, 128);

tc-blue-10

color: rgb(23, 51, 97);

tc-blue-11

color: rgb(16, 35, 66);

tc-blue-12

color: rgb(8, 19, 35);

tc-indigo-1

color: rgb(228, 229, 249);

tc-indigo-2

color: rgb(205, 206, 244);

tc-indigo-3

color: rgb(182, 183, 238);

tc-indigo-4

color: rgb(159, 160, 233);

tc-indigo-5

color: rgb(135, 138, 228);

tc-indigo-6

color: rgb(112, 115, 222);

tc-indigo

color: rgb(89, 92, 217);

tc-indigo-7

color: rgb(77, 79, 187);

tc-indigo-8

color: rgb(64, 66, 156);

tc-indigo-9

color: rgb(52, 53, 126);

tc-indigo-10

color: rgb(39, 40, 95);

tc-indigo-11

color: rgb(27, 28, 65);

tc-indigo-12

color: rgb(14, 15, 35);

tc-violet-1

color: rgb(234, 227, 250);

tc-violet-2

color: rgb(216, 203, 245);

tc-violet-3

color: rgb(198, 179, 240);

tc-violet-4

color: rgb(180, 155, 235);

tc-violet-5

color: rgb(161, 131, 231);

tc-violet-6

color: rgb(143, 107, 226);

tc-violet

color: rgb(125, 83, 221);

tc-violet-7

color: rgb(108, 71, 190);

tc-violet-8

color: rgb(90, 60, 159);

tc-violet-9

color: rgb(73, 48, 128);

tc-violet-10

color: rgb(55, 37, 97);

tc-violet-11

color: rgb(38, 25, 66);

tc-violet-12

color: rgb(20, 13, 35);

tc-pink-1

color: rgb(248, 225, 236);

tc-pink-2

color: rgb(242, 198, 220);

tc-pink-3

color: rgb(236, 171, 204);

tc-pink-4

color: rgb(230, 145, 187);

tc-pink-5

color: rgb(224, 118, 171);

tc-pink-6

color: rgb(218, 92, 154);

tc-pink

color: rgb(212, 65, 138);

tc-pink-7

color: rgb(182, 56, 119);

tc-pink-8

color: rgb(153, 47, 99);

tc-pink-9

color: rgb(123, 38, 80);

tc-pink-10

color: rgb(93, 29, 61);

tc-pink-11

color: rgb(64, 20, 41);

tc-pink-12

color: rgb(34, 10, 22);

tc-lead-1

color: rgb(224, 224, 227);

tc-lead-2

color: rgb(197, 197, 202);

tc-lead-3

color: rgb(171, 171, 177);

tc-lead-4

color: rgb(144, 144, 152);

tc-lead-5

color: rgb(117, 117, 128);

tc-lead-6

color: rgb(90, 90, 103);

tc-lead

color: rgb(63, 63, 78);

tc-lead-7

color: rgb(54, 54, 67);

tc-lead-8

color: rgb(45, 45, 56);

tc-lead-9

color: rgb(37, 37, 45);

tc-lead-10

color: rgb(28, 28, 34);

tc-lead-11

color: rgb(19, 19, 23);

tc-lead-12

color: rgb(10, 10, 12);

tc-gray-1

color: rgb(230, 231, 233);

tc-gray-2

color: rgb(207, 209, 213);

tc-gray-3

color: rgb(185, 188, 193);

tc-gray-4

color: rgb(163, 167, 174);

tc-gray-5

color: rgb(141, 146, 154);

tc-gray-6

color: rgb(118, 124, 135);

tc-gray

color: rgb(96, 103, 115);

tc-gray-7

color: rgb(83, 89, 99);

tc-gray-8

color: rgb(69, 74, 83);

tc-gray-9

color: rgb(56, 60, 67);

tc-gray-10

color: rgb(42, 45, 51);

tc-gray-11

color: rgb(29, 31, 35);

tc-gray-12

color: rgb(15, 16, 18);

tc-silver-1

color: rgb(245, 245, 246);

tc-silver-2

color: rgb(236, 237, 238);

tc-silver-3

color: rgb(227, 228, 230);

tc-silver-4

color: rgb(218, 220, 223);

tc-silver-5

color: rgb(209, 211, 215);

tc-silver-6

color: rgb(200, 203, 207);

tc-silver

color: rgb(191, 194, 199);

tc-silver-7

color: rgb(164, 167, 171);

tc-silver-8

color: rgb(138, 140, 143);

tc-silver-9

color: rgb(111, 113, 115);

tc-silver-10

color: rgb(84, 85, 88);

tc-silver-11

color: rgb(57, 58, 60);

tc-silver-12

color: rgb(31, 31, 32);

tc-black

color: black;

tc-white

color: white;

tc-transparent

color: transparent;

This example showcases various text colors using the indigo color palette:

  • The tc-indigo-3 utility applies a lighter indigo shade.
  • The tc-indigo utility applies the base indigo shade.
  • The tc-indigo-8 utility applies a darker indigo shade.

Sphinx of black quartz, judge my vow.

Sphinx of black quartz, judge my vow.

Sphinx of black quartz, judge my vow.

<div class="bg-indigo-1 p-4 rad-1">
<div class="bg-white d-g p-4 rad-1 rg-4">
<p class="ta-c tc-indigo-3">Sphinx of black quartz, judge my vow.</p>
<p class="ta-c tc-indigo">Sphinx of black quartz, judge my vow.</p>
<p class="ta-c tc-indigo-8">Sphinx of black quartz, judge my vow.</p>
</div>
</div>

Conditional styles

Learn how to override existing utilities based on the user's screen size or other factors, such as hover states.

Hover modifiers

Alternatively, you can apply :hover by using h:tc-* utility to override elements and change their values when hovering over them.

<div class="tc-lead h:tc ..."></div>