Skip to main content
Version: 1.1

Border Color

Border Color

Utilities for controlling the color of an element's borders.

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

Border Opacity

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

SyntaxOutput
border-purple-700 border-opacity-100
border-purple-700 border-opacity-75
border-purple-700 border-opacity-70
border-purple-700 border-opacity-25

Custom Border Color

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

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

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