HEX
#
RGB
HSL

#0000CD CSS / HTML Preview

Text with hexadecimal color #0000CD

This text has a font color of #0000CD.

<span style="color:#0000CD;">Your text here</span>
#0000CD border color

This element has a border color of #0000CD.

<div style="border:2px solid #0000CD;">Content here</div>
#0000CD background color

This paragraph has a background color of #0000CD.

<p style="background-color:#0000CD;">Content here</p>
CSS codes
.text {color:#0000CD;}
.background {background-color:#0000CD;}
.border {border:1px solid #0000CD;}