#892251 Color
Color Codes | |
---|---|
Hex Code | #892251 |
RGB Code | rgb(137, 34, 81) |
HSL Code | hsl(333, 60%, 34%) |
#892251 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(137, 34, 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(333, 60%, 34%); }
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 #892251
RGB Code | Hex Code | Preview |
---|---|---|
rgb(137, 34, 81, 10%) | #8922511a | |
rgb(137, 34, 81, 20%) | #89225133 | |
rgb(137, 34, 81, 40%) | #8922514C | |
rgb(137, 34, 81, 60%) | #89225199 | |
rgb(137, 34, 81, 80%) | #892251CC | |
rgb(137, 34, 81, 100%) | #892251FF |
Saturated and desaturated colors of #892251
HSL Code | Preview |
---|---|
hsl(333, 10%, 34%) | |
hsl(333, 20%, 34%) | |
hsl(333, 40%, 34%) | |
hsl(333, 60%, 34%) | |
hsl(333, 80%, 34%) | |
hsl(333, 100%, 34%) |
#892251 Color Usage In CSS
body { color: #892251; } p { color: rgb(137, 34, 81); } header { border-bottom:1px solid #892251; }