#aaab0f Color
Color Codes | |
---|---|
Hex Code | #aaab0f |
RGB Code | rgb(170, 171, 15) |
HSL Code | hsl(60, 84%, 36%) |
#aaab0f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(170, 171, 15); }
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(60, 84%, 36%); }
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 #aaab0f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(170, 171, 15, 10%) | #aaab0f1a | |
rgb(170, 171, 15, 20%) | #aaab0f33 | |
rgb(170, 171, 15, 40%) | #aaab0f4C | |
rgb(170, 171, 15, 60%) | #aaab0f99 | |
rgb(170, 171, 15, 80%) | #aaab0fCC | |
rgb(170, 171, 15, 100%) | #aaab0fFF |
Saturated and desaturated colors of #aaab0f
HSL Code | Preview |
---|---|
hsl(60, 10%, 36%) | |
hsl(60, 20%, 36%) | |
hsl(60, 40%, 36%) | |
hsl(60, 60%, 36%) | |
hsl(60, 80%, 36%) | |
hsl(60, 100%, 36%) |
#aaab0f Color Usage In CSS
body { color: #aaab0f; } p { color: rgb(170, 171, 15); } header { border-bottom:1px solid #aaab0f; }