#a0a459 Color
Color Codes | |
---|---|
Hex Code | #a0a459 |
RGB Code | rgb(160, 164, 89) |
HSL Code | hsl(63, 30%, 50%) |
#a0a459 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 164, 89); }
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, 30%, 50%); }
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 #a0a459
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 164, 89, 10%) | #a0a4591a | |
rgb(160, 164, 89, 20%) | #a0a45933 | |
rgb(160, 164, 89, 40%) | #a0a4594C | |
rgb(160, 164, 89, 60%) | #a0a45999 | |
rgb(160, 164, 89, 80%) | #a0a459CC | |
rgb(160, 164, 89, 100%) | #a0a459FF |
Saturated and desaturated colors of #a0a459
HSL Code | Preview |
---|---|
hsl(63, 10%, 50%) | |
hsl(63, 20%, 50%) | |
hsl(63, 40%, 50%) | |
hsl(63, 60%, 50%) | |
hsl(63, 80%, 50%) | |
hsl(63, 100%, 50%) |
#a0a459 Color Usage In CSS
body { color: #a0a459; } p { color: rgb(160, 164, 89); } header { border-bottom:1px solid #a0a459; }