#51201d Color
Color Codes | |
---|---|
Hex Code | #51201d |
RGB Code | rgb(81, 32, 29) |
HSL Code | hsl(3, 47%, 22%) |
#51201d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 32, 29); }
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(3, 47%, 22%); }
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 #51201d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 32, 29, 10%) | #51201d1a | |
rgb(81, 32, 29, 20%) | #51201d33 | |
rgb(81, 32, 29, 40%) | #51201d4C | |
rgb(81, 32, 29, 60%) | #51201d99 | |
rgb(81, 32, 29, 80%) | #51201dCC | |
rgb(81, 32, 29, 100%) | #51201dFF |
Saturated and desaturated colors of #51201d
HSL Code | Preview |
---|---|
hsl(3, 10%, 22%) | |
hsl(3, 20%, 22%) | |
hsl(3, 40%, 22%) | |
hsl(3, 60%, 22%) | |
hsl(3, 80%, 22%) | |
hsl(3, 100%, 22%) |
#51201d Color Usage In CSS
body { color: #51201d; } p { color: rgb(81, 32, 29); } header { border-bottom:1px solid #51201d; }