Use or name colors please refer to Colors.
Overview
The outline-color CSS property sets the color of an element’s outline.
Colors
Use color please refer to Colors.
outline:fade-60outline:gray-60outline:brown-60outline:orange-60outline:gold-60outline:yellow-60outline:grass-60outline:green-60outline:beryl-60outline:teal-60outline:cyan-60outline:sky-60outline:blue-60outline:indigo-60outline:violet-60outline:purple-60outline:fuchsia-60outline:pink-60outline:crimson-60outline:red-60Hex
outline:#878d9foutline:#8d8d8foutline:#af836eoutline:#d5731eoutline:#c08000outline:#ac8a00outline:#689c13outline:#08a345outline:#00a170outline:#009f94outline:#0099c1outline:#0b92eeoutline:#538ceeoutline:#7d84e8outline:#9e77f5outline:#b56cecoutline:#e04ee5outline:#ee52a3outline:#ea5b82outline:#eb5f63RGB
outline:rgb(135,141,159)outline:rgb(141,141,143)outline:rgb(175,131,110)outline:rgb(213,115,30)outline:rgb(192,128,0)outline:rgb(172,138,0)outline:rgb(104,156,19)outline:rgb(8,163,69)outline:rgb(0,161,112)outline:rgb(0,159,148)outline:rgb(0,153,193)outline:rgb(11,146,238)outline:rgb(83,140,238)outline:rgb(125,132,232)outline:rgb(158,119,245)outline:rgb(181,108,236)outline:rgb(224,78,229)outline:rgb(238,82,163)outline:rgb(234,91,130)outline:rgb(235,95,99)Applying with functions
<div class="outline-color:$(color)">...</div>Master supports native CSS variables and functions, just add var(--key) or use shorthand$(key) for variables.
You can also use calc(expression), env(expression) and other CSS functions if the property supports it.
To learn more, see the Functions documentation.
Conditionally apply
States and selectors
<div class="outline-color:blue-60:hover">...</div>Master supports all native CSS selectors, just add :hover, :disabled, chaining, combinators and other CSS selectors as usual.
To learn more, see the Selectors documentation.
Responsive breakpoints
<div class="outline-color:blue-60@sm">...</div>Responsive breakpoints can be applied to all styles. Some available breakpoints are 3xs, 2xs, xs, sm,md, lg, xl, 2xl, 3xl, 4xl. Arbitrary breakpoints can be specified through comparison operators >, >=, <, <=.
To learn more, see the Breakpoints documentation.
Print format and media queries
<div class="outline-color:blue-60@print">...</div>Master supports media types like print, screen, speech, all, and other media queries.
To learn more, see the Media Queries documentation.
Dark mode and color schemes
<div class="outline-color:blue-60@dark">...</div>Master uses the selector html.dark to support color schemes. Now, you can easily fine-tune your style for the color schemes.
To learn more, see the Color Schemes documentation.