Borders

outline-color to Tailwind

Becomes outline-* with a palette name, most often paired with a focus-visible: variant.

The 3 mappings below are read straight out of Tailwind v4.3.3, not maintained by hand, so this is what the converter will actually produce for outline-color.

outline-color values and their classes

CSSTailwind
outline-color: currentcolor;outline-current
outline-color: inherit;outline-inherit
outline-color: transparent;outline-transparent

Colours

Colour values are not a fixed list — the converter matches yours against the Tailwind palette and picks the nearest name, so any of the palette's shades works the same way. A few worked examples:

CSSTailwind
outline-color: #fff;outline-white
outline-color: #000;outline-black
outline-color: oklch(96.8% 0.007 247.896);outline-slate-100
outline-color: oklch(55.4% 0.046 257.417);outline-slate-500
outline-color: oklch(20.8% 0.042 265.755);outline-slate-900
outline-color: oklch(63.7% 0.237 25.331);outline-red-500
outline-color: oklch(69.6% 0.17 162.48);outline-emerald-500
outline-color: oklch(68.5% 0.169 237.323);outline-sky-500

Values that are not on the scale

Anything without a named class is written as an arbitrary value in square brackets. The converter falls back to this rather than rounding your CSS to the nearest class, because silently changing a value is worse than an ugly class name.

outline-[your value]

Other borders properties

Converting a whole stylesheet?

Paste it into the converter and get every rule at once, shorthands expanded, media queries turned into breakpoint variants, and the parts that have no Tailwind equivalent flagged rather than dropped.

Open the converter