#ab9e46 Color
Color Codes | |
---|---|
Hex Code | #ab9e46 |
RGB Code | rgb(171, 158, 70) |
HSL Code | hsl(52, 42%, 47%) |
#ab9e46 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 158, 70); }
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(52, 42%, 47%); }
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 #ab9e46
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 158, 70, 10%) | #ab9e461a | |
rgb(171, 158, 70, 20%) | #ab9e4633 | |
rgb(171, 158, 70, 40%) | #ab9e464C | |
rgb(171, 158, 70, 60%) | #ab9e4699 | |
rgb(171, 158, 70, 80%) | #ab9e46CC | |
rgb(171, 158, 70, 100%) | #ab9e46FF |
Saturated and desaturated colors of #ab9e46
HSL Code | Preview |
---|---|
hsl(52, 10%, 47%) | |
hsl(52, 20%, 47%) | |
hsl(52, 40%, 47%) | |
hsl(52, 60%, 47%) | |
hsl(52, 80%, 47%) | |
hsl(52, 100%, 47%) |
#ab9e46 Color Usage In CSS
body { color: #ab9e46; } p { color: rgb(171, 158, 70); } header { border-bottom:1px solid #ab9e46; }