HEX
#
RGB
HSL

#4B0082 CSS / HTML Preview

Text with hexadecimal color #4B0082

This text has a font color of #4B0082.

<span style="color:#4B0082;">Your text here</span>
#4B0082 border color

This element has a border color of #4B0082.

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

This paragraph has a background color of #4B0082.

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