#3e0a2c Color
Color Codes | |
---|---|
Hex Code | #3e0a2c |
RGB Code | rgb(62, 10, 44) |
HSL Code | hsl(321, 72%, 14%) |
#3e0a2c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 10, 44); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(321, 72%, 14%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #3e0a2c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 10, 44, 10%) | #3e0a2c1a | |
rgb(62, 10, 44, 20%) | #3e0a2c33 | |
rgb(62, 10, 44, 40%) | #3e0a2c4C | |
rgb(62, 10, 44, 60%) | #3e0a2c99 | |
rgb(62, 10, 44, 80%) | #3e0a2cCC | |
rgb(62, 10, 44, 100%) | #3e0a2cFF |
Saturated and desaturated colors of #3e0a2c
HSL Code | Preview |
---|---|
hsl(321, 10%, 14%) | |
hsl(321, 20%, 14%) | |
hsl(321, 40%, 14%) | |
hsl(321, 60%, 14%) | |
hsl(321, 80%, 14%) | |
hsl(321, 100%, 14%) |
#3e0a2c Color Usage In CSS
body { color: #3e0a2c; } p { color: rgb(62, 10, 44); } header { border-bottom:1px solid #3e0a2c; }