Enter a color:

Text as the color #402144


HTML:
<div style="color: #402144"></div>
CSS:
.class { color: #402144; }

Background using #402144


HTML:
<div style="background-color: #402144"></div>
CSS:
.class { background-color: #402144; }

Border color as #402144


HTML:
<div style="border: 2px solid #402144"></div>
CSS:
.class { border: 2px solid #402144; }

Text shadow using #402144


HTML:
<div style="text-shadow: 3px 3px 2px #402144"></div>
CSS:
.class { text-shadow: 3px 3px 2px #402144; }

Box shadow as #402144


HTML:
<div style="box-shadow: 1px 1px 3px 2px #402144; -webkit-box-shadow: 1px 1px 3px 2px #402144;-moz-box-shadow:1px 1px 3px 2px #402144"></div>
CSS:
.class { box-shadow: 1px 1px 3px 2px #402144; -webkit-box-shadow: 1px 1px 3px 2px #402144;-moz-box-shadow:1px 1px 3px 2px #402144; }

Related Tools:

CSS Fonts


Saved Palette


Click Save to keep a list of colors you like and want to work with.