#892d2d Color
Color Codes | |
---|---|
Hex Code | #892d2d |
RGB Code | rgb(137, 45, 45) |
HSL Code | hsl(0, 51%, 36%) |
#892d2d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(137, 45, 45); }
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(0, 51%, 36%); }
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 #892d2d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(137, 45, 45, 10%) | #892d2d1a | |
rgb(137, 45, 45, 20%) | #892d2d33 | |
rgb(137, 45, 45, 40%) | #892d2d4C | |
rgb(137, 45, 45, 60%) | #892d2d99 | |
rgb(137, 45, 45, 80%) | #892d2dCC | |
rgb(137, 45, 45, 100%) | #892d2dFF |
Saturated and desaturated colors of #892d2d
HSL Code | Preview |
---|---|
hsl(0, 10%, 36%) | |
hsl(0, 20%, 36%) | |
hsl(0, 40%, 36%) | |
hsl(0, 60%, 36%) | |
hsl(0, 80%, 36%) | |
hsl(0, 100%, 36%) |
#892d2d Color Usage In CSS
body { color: #892d2d; } p { color: rgb(137, 45, 45); } header { border-bottom:1px solid #892d2d; }