Skip to content

Accent Color

Controls form control accent color.

Utility Properties

ac-red-1

accent-color: rgb(249, 224, 224);

ac-red-2

accent-color: rgb(243, 197, 197);

ac-red-3

accent-color: rgb(237, 170, 170);

ac-red-4

accent-color: rgb(232, 142, 142);

ac-red-5

accent-color: rgb(226, 115, 115);

ac-red-6

accent-color: rgb(221, 88, 88);

ac-red

accent-color: rgb(215, 61, 61);

ac-red-7

accent-color: rgb(185, 52, 52);

ac-red-8

accent-color: rgb(155, 44, 44);

ac-red-9

accent-color: rgb(125, 35, 35);

ac-red-10

accent-color: rgb(95, 27, 27);

ac-red-11

accent-color: rgb(65, 18, 18);

ac-red-12

accent-color: rgb(34, 10, 10);

ac-orange-1

accent-color: rgb(250, 231, 217);

ac-orange-2

accent-color: rgb(246, 210, 185);

ac-orange-3

accent-color: rgb(241, 189, 152);

ac-orange-4

accent-color: rgb(237, 167, 119);

ac-orange-5

accent-color: rgb(233, 146, 86);

ac-orange-6

accent-color: rgb(228, 125, 53);

ac-orange

accent-color: rgb(224, 104, 20);

ac-orange-7

accent-color: rgb(193, 89, 17);

ac-orange-8

accent-color: rgb(161, 75, 14);

ac-orange-9

accent-color: rgb(130, 60, 12);

ac-orange-10

accent-color: rgb(99, 46, 9);

ac-orange-11

accent-color: rgb(67, 31, 6);

ac-orange-12

accent-color: rgb(36, 17, 3);

ac-yellow-1

accent-color: rgb(248, 240, 215);

ac-yellow-2

accent-color: rgb(242, 227, 181);

ac-yellow-3

accent-color: rgb(236, 214, 146);

ac-yellow-4

accent-color: rgb(229, 200, 111);

ac-yellow-5

accent-color: rgb(223, 187, 76);

ac-yellow-6

accent-color: rgb(217, 174, 42);

ac-yellow

accent-color: rgb(211, 161, 7);

ac-yellow-7

accent-color: rgb(181, 138, 6);

ac-yellow-8

accent-color: rgb(152, 116, 5);

ac-yellow-9

accent-color: rgb(122, 93, 4);

ac-yellow-10

accent-color: rgb(93, 71, 3);

ac-yellow-11

accent-color: rgb(63, 48, 2);

ac-yellow-12

accent-color: rgb(34, 26, 1);

ac-green-1

accent-color: rgb(219, 243, 228);

ac-green-2

accent-color: rgb(188, 232, 204);

ac-green-3

accent-color: rgb(156, 221, 180);

ac-green-4

accent-color: rgb(125, 210, 156);

ac-green-5

accent-color: rgb(94, 199, 133);

ac-green-6

accent-color: rgb(62, 188, 109);

ac-green

accent-color: rgb(31, 177, 85);

ac-green-7

accent-color: rgb(27, 152, 73);

ac-green-8

accent-color: rgb(22, 127, 61);

ac-green-9

accent-color: rgb(18, 103, 49);

ac-green-10

accent-color: rgb(14, 78, 37);

ac-green-11

accent-color: rgb(9, 53, 26);

ac-green-12

accent-color: rgb(5, 28, 14);

ac-teal-1

accent-color: rgb(217, 241, 238);

ac-teal-2

accent-color: rgb(184, 228, 223);

ac-teal-3

accent-color: rgb(151, 216, 208);

ac-teal-4

accent-color: rgb(118, 203, 194);

ac-teal-5

accent-color: rgb(84, 191, 179);

ac-teal-6

accent-color: rgb(51, 178, 164);

ac-teal

accent-color: rgb(18, 166, 149);

ac-teal-7

accent-color: rgb(15, 143, 128);

ac-teal-8

accent-color: rgb(13, 120, 107);

ac-teal-9

accent-color: rgb(10, 96, 86);

ac-teal-10

accent-color: rgb(8, 73, 66);

ac-teal-11

accent-color: rgb(5, 50, 45);

ac-teal-12

accent-color: rgb(3, 27, 24);

ac-cyan-1

accent-color: rgb(215, 240, 245);

ac-cyan-2

accent-color: rgb(180, 228, 236);

ac-cyan-3

accent-color: rgb(145, 215, 227);

ac-cyan-4

accent-color: rgb(110, 202, 218);

ac-cyan-5

accent-color: rgb(75, 189, 209);

ac-cyan-6

accent-color: rgb(40, 177, 200);

ac-cyan

accent-color: rgb(5, 164, 191);

ac-cyan-7

accent-color: rgb(4, 141, 164);

ac-cyan-8

accent-color: rgb(4, 118, 138);

ac-cyan-9

accent-color: rgb(3, 95, 111);

ac-cyan-10

accent-color: rgb(2, 72, 84);

ac-cyan-11

accent-color: rgb(2, 49, 57);

ac-cyan-12

accent-color: rgb(1, 26, 31);

ac-blue-1

accent-color: rgb(223, 233, 250);

ac-blue-2

accent-color: rgb(194, 214, 245);

ac-blue-3

accent-color: rgb(166, 194, 240);

ac-blue-4

accent-color: rgb(138, 175, 235);

ac-blue-5

accent-color: rgb(110, 156, 231);

ac-blue-6

accent-color: rgb(81, 136, 226);

ac-blue

accent-color: rgb(53, 117, 221);

ac-blue-7

accent-color: rgb(46, 101, 190);

ac-blue-8

accent-color: rgb(38, 84, 159);

ac-blue-9

accent-color: rgb(31, 68, 128);

ac-blue-10

accent-color: rgb(23, 51, 97);

ac-blue-11

accent-color: rgb(16, 35, 66);

ac-blue-12

accent-color: rgb(8, 19, 35);

ac-indigo-1

accent-color: rgb(228, 229, 249);

ac-indigo-2

accent-color: rgb(205, 206, 244);

ac-indigo-3

accent-color: rgb(182, 183, 238);

ac-indigo-4

accent-color: rgb(159, 160, 233);

ac-indigo-5

accent-color: rgb(135, 138, 228);

ac-indigo-6

accent-color: rgb(112, 115, 222);

ac-indigo

accent-color: rgb(89, 92, 217);

ac-indigo-7

accent-color: rgb(77, 79, 187);

ac-indigo-8

accent-color: rgb(64, 66, 156);

ac-indigo-9

accent-color: rgb(52, 53, 126);

ac-indigo-10

accent-color: rgb(39, 40, 95);

ac-indigo-11

accent-color: rgb(27, 28, 65);

ac-indigo-12

accent-color: rgb(14, 15, 35);

ac-violet-1

accent-color: rgb(234, 227, 250);

ac-violet-2

accent-color: rgb(216, 203, 245);

ac-violet-3

accent-color: rgb(198, 179, 240);

ac-violet-4

accent-color: rgb(180, 155, 235);

ac-violet-5

accent-color: rgb(161, 131, 231);

ac-violet-6

accent-color: rgb(143, 107, 226);

ac-violet

accent-color: rgb(125, 83, 221);

ac-violet-7

accent-color: rgb(108, 71, 190);

ac-violet-8

accent-color: rgb(90, 60, 159);

ac-violet-9

accent-color: rgb(73, 48, 128);

ac-violet-10

accent-color: rgb(55, 37, 97);

ac-violet-11

accent-color: rgb(38, 25, 66);

ac-violet-12

accent-color: rgb(20, 13, 35);

ac-pink-1

accent-color: rgb(248, 225, 236);

ac-pink-2

accent-color: rgb(242, 198, 220);

ac-pink-3

accent-color: rgb(236, 171, 204);

ac-pink-4

accent-color: rgb(230, 145, 187);

ac-pink-5

accent-color: rgb(224, 118, 171);

ac-pink-6

accent-color: rgb(218, 92, 154);

ac-pink

accent-color: rgb(212, 65, 138);

ac-pink-7

accent-color: rgb(182, 56, 119);

ac-pink-8

accent-color: rgb(153, 47, 99);

ac-pink-9

accent-color: rgb(123, 38, 80);

ac-pink-10

accent-color: rgb(93, 29, 61);

ac-pink-11

accent-color: rgb(64, 20, 41);

ac-pink-12

accent-color: rgb(34, 10, 22);

ac-lead-1

accent-color: rgb(224, 224, 227);

ac-lead-2

accent-color: rgb(197, 197, 202);

ac-lead-3

accent-color: rgb(171, 171, 177);

ac-lead-4

accent-color: rgb(144, 144, 152);

ac-lead-5

accent-color: rgb(117, 117, 128);

ac-lead-6

accent-color: rgb(90, 90, 103);

ac-lead

accent-color: rgb(63, 63, 78);

ac-lead-7

accent-color: rgb(54, 54, 67);

ac-lead-8

accent-color: rgb(45, 45, 56);

ac-lead-9

accent-color: rgb(37, 37, 45);

ac-lead-10

accent-color: rgb(28, 28, 34);

ac-lead-11

accent-color: rgb(19, 19, 23);

ac-lead-12

accent-color: rgb(10, 10, 12);

ac-gray-1

accent-color: rgb(230, 231, 233);

ac-gray-2

accent-color: rgb(207, 209, 213);

ac-gray-3

accent-color: rgb(185, 188, 193);

ac-gray-4

accent-color: rgb(163, 167, 174);

ac-gray-5

accent-color: rgb(141, 146, 154);

ac-gray-6

accent-color: rgb(118, 124, 135);

ac-gray

accent-color: rgb(96, 103, 115);

ac-gray-7

accent-color: rgb(83, 89, 99);

ac-gray-8

accent-color: rgb(69, 74, 83);

ac-gray-9

accent-color: rgb(56, 60, 67);

ac-gray-10

accent-color: rgb(42, 45, 51);

ac-gray-11

accent-color: rgb(29, 31, 35);

ac-gray-12

accent-color: rgb(15, 16, 18);

ac-silver-1

accent-color: rgb(245, 245, 246);

ac-silver-2

accent-color: rgb(236, 237, 238);

ac-silver-3

accent-color: rgb(227, 228, 230);

ac-silver-4

accent-color: rgb(218, 220, 223);

ac-silver-5

accent-color: rgb(209, 211, 215);

ac-silver-6

accent-color: rgb(200, 203, 207);

ac-silver

accent-color: rgb(191, 194, 199);

ac-silver-7

accent-color: rgb(164, 167, 171);

ac-silver-8

accent-color: rgb(138, 140, 143);

ac-silver-9

accent-color: rgb(111, 113, 115);

ac-silver-10

accent-color: rgb(84, 85, 88);

ac-silver-11

accent-color: rgb(57, 58, 60);

ac-silver-12

accent-color: rgb(31, 31, 32);

ac-black

accent-color: black;

ac-white

accent-color: white;

ac-transparent

accent-color: transparent;

This example showcases the default browser accent color and a custom Indigo color. The custom accent will have a light indigo shade.

<div class="d-g g-8 gtc-1 sm:gtc-2">
<label><input class="mr-1" type="checkbox" checked />Default </label>
<label><input class="ac-indigo-2 mr-1" type="checkbox" checked />Custom</label>
</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:ac-* utility to override elements and change their values when hovering over them.

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