Padding Borders and Margin

outline-color

Specifies the color for an outline. An outline works similar to a border, except an outline doesn’t occupy any space, that is, it doest add to the width and height of an element. It is intended for highlighting an elements on the page.

Example

outline-color: gray;

Browser support

FF1.5+, SA1.3+, OP9.2+

Values

Color keyword One of the 17 recognized color keywords; aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red, silver, teal, white and yellow.
Hex color Three two-character numbers in the hexadecimal system(base 16)
RGB decimal Use RGB values from 0 to 255; rgb(255, 0, 333).
RGB percentage Specify a color using percentage values: rgb(100%, 0%, 33%).

Related properties

Can be used with..

Search the Soup!