#ab754d Color
Color Codes | |
---|---|
Hex Code | #ab754d |
RGB Code | rgb(171, 117, 77) |
HSL Code | hsl(26, 38%, 49%) |
#ab754d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 117, 77); }
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(26, 38%, 49%); }
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 #ab754d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 117, 77, 10%) | #ab754d1a | |
rgb(171, 117, 77, 20%) | #ab754d33 | |
rgb(171, 117, 77, 40%) | #ab754d4C | |
rgb(171, 117, 77, 60%) | #ab754d99 | |
rgb(171, 117, 77, 80%) | #ab754dCC | |
rgb(171, 117, 77, 100%) | #ab754dFF |
Saturated and desaturated colors of #ab754d
HSL Code | Preview |
---|---|
hsl(26, 10%, 49%) | |
hsl(26, 20%, 49%) | |
hsl(26, 40%, 49%) | |
hsl(26, 60%, 49%) | |
hsl(26, 80%, 49%) | |
hsl(26, 100%, 49%) |
#ab754d Color Usage In CSS
body { color: #ab754d; } p { color: rgb(171, 117, 77); } header { border-bottom:1px solid #ab754d; }