#51532e Color
Color Codes | |
---|---|
Hex Code | #51532e |
RGB Code | rgb(81, 83, 46) |
HSL Code | hsl(63, 29%, 25%) |
#51532e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 83, 46); }
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(63, 29%, 25%); }
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 #51532e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 83, 46, 10%) | #51532e1a | |
rgb(81, 83, 46, 20%) | #51532e33 | |
rgb(81, 83, 46, 40%) | #51532e4C | |
rgb(81, 83, 46, 60%) | #51532e99 | |
rgb(81, 83, 46, 80%) | #51532eCC | |
rgb(81, 83, 46, 100%) | #51532eFF |
Saturated and desaturated colors of #51532e
HSL Code | Preview |
---|---|
hsl(63, 10%, 25%) | |
hsl(63, 20%, 25%) | |
hsl(63, 40%, 25%) | |
hsl(63, 60%, 25%) | |
hsl(63, 80%, 25%) | |
hsl(63, 100%, 25%) |
#51532e Color Usage In CSS
body { color: #51532e; } p { color: rgb(81, 83, 46); } header { border-bottom:1px solid #51532e; }