#893a51 Color
Color Codes | |
---|---|
Hex Code | #893a51 |
RGB Code | rgb(137, 58, 81) |
HSL Code | hsl(343, 41%, 38%) |
#893a51 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(137, 58, 81); }
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(343, 41%, 38%); }
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 #893a51
RGB Code | Hex Code | Preview |
---|---|---|
rgb(137, 58, 81, 10%) | #893a511a | |
rgb(137, 58, 81, 20%) | #893a5133 | |
rgb(137, 58, 81, 40%) | #893a514C | |
rgb(137, 58, 81, 60%) | #893a5199 | |
rgb(137, 58, 81, 80%) | #893a51CC | |
rgb(137, 58, 81, 100%) | #893a51FF |
Saturated and desaturated colors of #893a51
HSL Code | Preview |
---|---|
hsl(343, 10%, 38%) | |
hsl(343, 20%, 38%) | |
hsl(343, 40%, 38%) | |
hsl(343, 60%, 38%) | |
hsl(343, 80%, 38%) | |
hsl(343, 100%, 38%) |
#893a51 Color Usage In CSS
body { color: #893a51; } p { color: rgb(137, 58, 81); } header { border-bottom:1px solid #893a51; }