CSS outline-color

Previous Next

Demo of the different values of the outline-color property.

Click the property values below to see the result:

outline-color: red;
outline-color: #0000ff;
outline-color: rgb(0, 255, 0);
outline-color: rgba(0, 255, 0, 0.5);
outline-color: hsl(0, 100%, 50%);
outline-color: hsla(0, 100%, 50%, 0.1);

Play more with the code in our Tryit yourself editor: Try it Yourself ❯