#a7bd0f Color
Color Codes | |
---|---|
Hex Code | #a7bd0f |
RGB Code | rgb(167, 189, 15) |
HSL Code | hsl(68, 85%, 40%) |
#a7bd0f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(167, 189, 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(68, 85%, 40%); }
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 #a7bd0f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(167, 189, 15, 10%) | #a7bd0f1a | |
rgb(167, 189, 15, 20%) | #a7bd0f33 | |
rgb(167, 189, 15, 40%) | #a7bd0f4C | |
rgb(167, 189, 15, 60%) | #a7bd0f99 | |
rgb(167, 189, 15, 80%) | #a7bd0fCC | |
rgb(167, 189, 15, 100%) | #a7bd0fFF |
Saturated and desaturated colors of #a7bd0f
HSL Code | Preview |
---|---|
hsl(68, 10%, 40%) | |
hsl(68, 20%, 40%) | |
hsl(68, 40%, 40%) | |
hsl(68, 60%, 40%) | |
hsl(68, 80%, 40%) | |
hsl(68, 100%, 40%) |
#a7bd0f Color Usage In CSS
body { color: #a7bd0f; } p { color: rgb(167, 189, 15); } header { border-bottom:1px solid #a7bd0f; }