Skip to main content
Version: 1.1

Text Color

Text Color

Utilities for controlling the text color of an element.

NamespaceOutputPreview
text-transparent{ color: "transparent" }
text-black{ color: "rgba(0, 0, 0, 1)" }
text-white{ color: "rgba(255, 255, 255, 1)" }
text-slate-50{ color: "rgba(248, 250, 252, 1)" }
text-slate-100{ color: "rgba(241, 245, 249, 1)" }
text-slate-200{ color: "rgba(226, 232, 240, 1)" }
text-slate-300{ color: "rgba(203, 213, 225, 1)" }
text-slate-400{ color: "rgba(148, 163, 184, 1)" }
text-slate-500{ color: "rgba(100, 116, 139, 1)" }
text-slate-600{ color: "rgba(71, 85, 105, 1)" }
text-slate-700{ color: "rgba(51, 65, 85, 1)" }
text-slate-800{ color: "rgba(30, 41, 59, 1)" }
text-slate-900{ color: "rgba(15, 23, 42, 1)" }
text-gray-50{ color: "rgba(249, 250, 251, 1)" }
text-gray-100{ color: "rgba(243, 244, 246, 1)" }
text-gray-200{ color: "rgba(229, 231, 235, 1)" }
text-gray-300{ color: "rgba(209, 213, 219, 1)" }
text-gray-400{ color: "rgba(156, 163, 175, 1)" }
text-gray-500{ color: "rgba(107, 114, 128, 1)" }
text-gray-600{ color: "rgba(75, 85, 99, 1)" }
text-gray-700{ color: "rgba(55, 65, 81, 1)" }
text-gray-800{ color: "rgba(31, 41, 55, 1)" }
text-gray-900{ color: "rgba(17, 24, 39, 1)" }
text-zinc-50{ color: "rgba(250, 250, 250, 1)" }
text-zinc-100{ color: "rgba(244, 244, 245, 1)" }
text-zinc-200{ color: "rgba(228, 228, 231, 1)" }
text-zinc-300{ color: "rgba(212, 212, 216, 1)" }
text-zinc-400{ color: "rgba(161, 161, 170, 1)" }
text-zinc-500{ color: "rgba(113, 113, 122, 1)" }
text-zinc-600{ color: "rgba(82, 82, 91, 1)" }
text-zinc-700{ color: "rgba(63, 63, 70, 1)" }
text-zinc-800{ color: "rgba(39, 39, 42, 1)" }
text-zinc-900{ color: "rgba(24, 24, 27, 1)" }
text-neutral-50{ color: "rgba(250, 250, 250, 1)" }
text-neutral-100{ color: "rgba(245, 245, 245, 1)" }
text-neutral-200{ color: "rgba(229, 229, 229, 1)" }
text-neutral-300{ color: "rgba(212, 212, 212, 1)" }
text-neutral-400{ color: "rgba(163, 163, 163, 1)" }
text-neutral-500{ color: "rgba(115, 115, 115, 1)" }
text-neutral-600{ color: "rgba(82, 82, 82, 1)" }
text-neutral-700{ color: "rgba(64, 64, 64, 1)" }
text-neutral-800{ color: "rgba(38, 38, 38, 1)" }
text-neutral-900{ color: "rgba(23, 23, 23, 1)" }
text-stone-50{ color: "rgba(250, 250, 249, 1)" }
text-stone-100{ color: "rgba(245, 245, 244, 1)" }
text-stone-200{ color: "rgba(231, 229, 228, 1)" }
text-stone-300{ color: "rgba(214, 211, 209, 1)" }
text-stone-400{ color: "rgba(168, 162, 158, 1)" }
text-stone-500{ color: "rgba(120, 113, 108, 1)" }
text-stone-600{ color: "rgba(87, 83, 78, 1)" }
text-stone-700{ color: "rgba(68, 64, 60, 1)" }
text-stone-800{ color: "rgba(41, 37, 36, 1)" }
text-stone-900{ color: "rgba(28, 25, 23, 1)" }
text-red-50{ color: "rgba(254, 242, 242, 1)" }
text-red-100{ color: "rgba(254, 226, 226, 1)" }
text-red-200{ color: "rgba(254, 202, 202, 1)" }
text-red-300{ color: "rgba(252, 165, 165, 1)" }
text-red-400{ color: "rgba(248, 113, 113, 1)" }
text-red-500{ color: "rgba(239, 68, 68, 1)" }
text-red-600{ color: "rgba(220, 38, 38, 1)" }
text-red-700{ color: "rgba(185, 28, 28, 1)" }
text-red-800{ color: "rgba(153, 27, 27, 1)" }
text-red-900{ color: "rgba(127, 29, 29, 1)" }
text-orange-50{ color: "rgba(255, 247, 237, 1)" }
text-orange-100{ color: "rgba(255, 237, 213, 1)" }
text-orange-200{ color: "rgba(254, 215, 170, 1)" }
text-orange-300{ color: "rgba(253, 186, 116, 1)" }
text-orange-400{ color: "rgba(251, 146, 60, 1)" }
text-orange-500{ color: "rgba(249, 115, 22, 1)" }
text-orange-600{ color: "rgba(234, 88, 12, 1)" }
text-orange-700{ color: "rgba(194, 65, 12, 1)" }
text-orange-800{ color: "rgba(154, 52, 18, 1)" }
text-orange-900{ color: "rgba(124, 45, 18, 1)" }
text-amber-50{ color: "rgba(255, 251, 235, 1)" }
text-amber-100{ color: "rgba(254, 243, 199, 1)" }
text-amber-200{ color: "rgba(253, 230, 138, 1)" }
text-amber-300{ color: "rgba(252, 211, 77, 1)" }
text-amber-400{ color: "rgba(251, 191, 36, 1)" }
text-amber-500{ color: "rgba(245, 158, 11, 1)" }
text-amber-600{ color: "rgba(217, 119, 6, 1)" }
text-amber-700{ color: "rgba(180, 83, 9, 1)" }
text-amber-800{ color: "rgba(146, 64, 14, 1)" }
text-amber-900{ color: "rgba(120, 53, 15, 1)" }
text-yellow-50{ color: "rgba(255, 251, 235, 1)" }
text-yellow-100{ color: "rgba(254, 243, 199, 1)" }
text-yellow-200{ color: "rgba(253, 230, 138, 1)" }
text-yellow-300{ color: "rgba(252, 211, 77, 1)" }
text-yellow-400{ color: "rgba(251, 191, 36, 1)" }
text-yellow-500{ color: "rgba(245, 158, 11, 1)" }
text-yellow-600{ color: "rgba(217, 119, 6, 1)" }
text-yellow-700{ color: "rgba(180, 83, 9, 1)" }
text-yellow-800{ color: "rgba(146, 64, 14, 1)" }
text-yellow-900{ color: "rgba(120, 53, 15, 1)" }
text-lime-50{ color: "rgba(247, 254, 231, 1)" }
text-lime-100{ color: "rgba(236, 252, 203, 1)" }
text-lime-200{ color: "rgba(217, 249, 157, 1)" }
text-lime-300{ color: "rgba(190, 242, 100, 1)" }
text-lime-400{ color: "rgba(163, 230, 53, 1)" }
text-lime-500{ color: "rgba(132, 204, 22, 1)" }
text-lime-600{ color: "rgba(101, 163, 13, 1)" }
text-lime-700{ color: "rgba(77, 124, 15, 1)" }
text-lime-800{ color: "rgba(63, 98, 18, 1)" }
text-lime-900{ color: "rgba(54, 83, 20, 1)" }
text-green-50{ color: "rgba(236, 253, 245, 1)" }
text-green-100{ color: "rgba(209, 250, 229, 1)" }
text-green-200{ color: "rgba(167, 243, 208, 1)" }
text-green-300{ color: "rgba(110, 231, 183, 1)" }
text-green-400{ color: "rgba(52, 211, 153, 1)" }
text-green-500{ color: "rgba(16, 185, 129, 1)" }
text-green-600{ color: "rgba(5, 150, 105, 1)" }
text-green-700{ color: "rgba(4, 120, 87, 1)" }
text-green-800{ color: "rgba(6, 95, 70, 1)" }
text-green-900{ color: "rgba(6, 78, 59, 1)" }
text-emerald-50{ color: "rgba(236, 253, 245, 1)" }
text-emerald-100{ color: "rgba(209, 250, 229, 1)" }
text-emerald-200{ color: "rgba(167, 243, 208, 1)" }
text-emerald-300{ color: "rgba(110, 231, 183, 1)" }
text-emerald-400{ color: "rgba(52, 211, 153, 1)" }
text-emerald-500{ color: "rgba(16, 185, 129, 1)" }
text-emerald-600{ color: "rgba(5, 150, 105, 1)" }
text-emerald-700{ color: "rgba(4, 120, 87, 1)" }
text-emerald-800{ color: "rgba(6, 95, 70, 1)" }
text-emerald-900{ color: "rgba(6, 78, 59, 1)" }
text-teal-50{ color: "rgba(240, 253, 250, 1)" }
text-teal-100{ color: "rgba(204, 251, 241, 1)" }
text-teal-200{ color: "rgba(153, 246, 228, 1)" }
text-teal-300{ color: "rgba(94, 234, 212, 1)" }
text-teal-400{ color: "rgba(45, 212, 191, 1)" }
text-teal-500{ color: "rgba(20, 184, 166, 1)" }
text-teal-600{ color: "rgba(13, 148, 136, 1)" }
text-teal-700{ color: "rgba(15, 118, 110, 1)" }
text-teal-800{ color: "rgba(17, 94, 89, 1)" }
text-teal-900{ color: "rgba(19, 78, 74, 1)" }
text-cyan-50{ color: "rgba(236, 254, 255, 1)" }
text-cyan-100{ color: "rgba(207, 250, 254, 1)" }
text-cyan-200{ color: "rgba(165, 243, 252, 1)" }
text-cyan-300{ color: "rgba(103, 232, 249, 1)" }
text-cyan-400{ color: "rgba(34, 211, 238, 1)" }
text-cyan-500{ color: "rgba(6, 182, 212, 1)" }
text-cyan-600{ color: "rgba(8, 145, 178, 1)" }
text-cyan-700{ color: "rgba(14, 116, 144, 1)" }
text-cyan-800{ color: "rgba(21, 94, 117, 1)" }
text-cyan-900{ color: "rgba(22, 78, 99, 1)" }
text-sky-50{ color: "rgba(240, 249, 255, 1)" }
text-sky-100{ color: "rgba(224, 242, 254, 1)" }
text-sky-200{ color: "rgba(186, 230, 253, 1)" }
text-sky-300{ color: "rgba(125, 211, 252, 1)" }
text-sky-400{ color: "rgba(56, 189, 248, 1)" }
text-sky-500{ color: "rgba(14, 165, 233, 1)" }
text-sky-600{ color: "rgba(2, 132, 199, 1)" }
text-sky-700{ color: "rgba(3, 105, 161, 1)" }
text-sky-800{ color: "rgba(7, 89, 133, 1)" }
text-sky-900{ color: "rgba(12, 74, 110, 1)" }
text-blue-50{ color: "rgba(239, 246, 255, 1)" }
text-blue-100{ color: "rgba(219, 234, 254, 1)" }
text-blue-200{ color: "rgba(191, 219, 254, 1)" }
text-blue-300{ color: "rgba(147, 197, 253, 1)" }
text-blue-400{ color: "rgba(96, 165, 250, 1)" }
text-blue-500{ color: "rgba(59, 130, 246, 1)" }
text-blue-600{ color: "rgba(37, 99, 235, 1)" }
text-blue-700{ color: "rgba(29, 78, 216, 1)" }
text-blue-800{ color: "rgba(30, 64, 175, 1)" }
text-blue-900{ color: "rgba(30, 58, 138, 1)" }
text-indigo-50{ color: "rgba(238, 242, 255, 1)" }
text-indigo-100{ color: "rgba(224, 231, 255, 1)" }
text-indigo-200{ color: "rgba(199, 210, 254, 1)" }
text-indigo-300{ color: "rgba(165, 180, 252, 1)" }
text-indigo-400{ color: "rgba(129, 140, 248, 1)" }
text-indigo-500{ color: "rgba(99, 102, 241, 1)" }
text-indigo-600{ color: "rgba(79, 70, 229, 1)" }
text-indigo-700{ color: "rgba(67, 56, 202, 1)" }
text-indigo-800{ color: "rgba(55, 48, 163, 1)" }
text-indigo-900{ color: "rgba(49, 46, 129, 1)" }
text-violet-50{ color: "rgba(245, 243, 255, 1)" }
text-violet-100{ color: "rgba(237, 233, 254, 1)" }
text-violet-200{ color: "rgba(221, 214, 254, 1)" }
text-violet-300{ color: "rgba(196, 181, 253, 1)" }
text-violet-400{ color: "rgba(167, 139, 250, 1)" }
text-violet-500{ color: "rgba(139, 92, 246, 1)" }
text-violet-600{ color: "rgba(124, 58, 237, 1)" }
text-violet-700{ color: "rgba(109, 40, 217, 1)" }
text-violet-800{ color: "rgba(91, 33, 182, 1)" }
text-violet-900{ color: "rgba(76, 29, 149, 1)" }
text-purple-50{ color: "rgba(245, 243, 255, 1)" }
text-purple-100{ color: "rgba(237, 233, 254, 1)" }
text-purple-200{ color: "rgba(221, 214, 254, 1)" }
text-purple-300{ color: "rgba(196, 181, 253, 1)" }
text-purple-400{ color: "rgba(167, 139, 250, 1)" }
text-purple-500{ color: "rgba(139, 92, 246, 1)" }
text-purple-600{ color: "rgba(124, 58, 237, 1)" }
text-purple-700{ color: "rgba(109, 40, 217, 1)" }
text-purple-800{ color: "rgba(91, 33, 182, 1)" }
text-purple-900{ color: "rgba(76, 29, 149, 1)" }
text-fuchsia-50{ color: "rgba(253, 244, 255, 1)" }
text-fuchsia-100{ color: "rgba(250, 232, 255, 1)" }
text-fuchsia-200{ color: "rgba(245, 208, 254, 1)" }
text-fuchsia-300{ color: "rgba(240, 171, 252, 1)" }
text-fuchsia-400{ color: "rgba(232, 121, 249, 1)" }
text-fuchsia-500{ color: "rgba(217, 70, 239, 1)" }
text-fuchsia-600{ color: "rgba(192, 38, 211, 1)" }
text-fuchsia-700{ color: "rgba(162, 28, 175, 1)" }
text-fuchsia-800{ color: "rgba(134, 25, 143, 1)" }
text-fuchsia-900{ color: "rgba(112, 26, 117, 1)" }
text-pink-50{ color: "rgba(253, 242, 248, 1)" }
text-pink-100{ color: "rgba(252, 231, 243, 1)" }
text-pink-200{ color: "rgba(251, 207, 232, 1)" }
text-pink-300{ color: "rgba(249, 168, 212, 1)" }
text-pink-400{ color: "rgba(244, 114, 182, 1)" }
text-pink-500{ color: "rgba(236, 72, 153, 1)" }
text-pink-600{ color: "rgba(219, 39, 119, 1)" }
text-pink-700{ color: "rgba(190, 24, 93, 1)" }
text-pink-800{ color: "rgba(157, 23, 77, 1)" }
text-pink-900{ color: "rgba(131, 24, 67, 1)" }
text-rose-50{ color: "rgba(255, 241, 242, 1)" }
text-rose-100{ color: "rgba(255, 228, 230, 1)" }
text-rose-200{ color: "rgba(254, 205, 211, 1)" }
text-rose-300{ color: "rgba(253, 164, 175, 1)" }
text-rose-400{ color: "rgba(251, 113, 133, 1)" }
text-rose-500{ color: "rgba(244, 63, 94, 1)" }
text-rose-600{ color: "rgba(225, 29, 72, 1)" }
text-rose-700{ color: "rgba(190, 18, 60, 1)" }
text-rose-800{ color: "rgba(159, 18, 57, 1)" }
text-rose-900{ color: "rgba(136, 19, 55, 1)" }

Text Opacity

Control the opacity of an element’s text color using the text-opacity-{amount} utilities. Example:

SyntaxOutput
text-purple-700 text-opacity-100Text Opacity 100
text-purple-700 text-opacity-75Text Opacity 75
text-purple-700 text-opacity-70Text Opacity 50
text-purple-700 text-opacity-25Text Opacity 25

Custom Text Color

You can add your own text color by adding color configration in osmi.config.js

export default {
colors: {
"primary-500": "#A8B3D6",
},
};

Then, you can use that color with syntax apply("text-primary-500")