#a0c945 Color
Color Codes | |
---|---|
Hex Code | #a0c945 |
RGB Code | rgb(160, 201, 69) |
HSL Code | hsl(79, 55%, 53%) |
#a0c945 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 201, 69); }
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(79, 55%, 53%); }
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 #a0c945
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 201, 69, 10%) | #a0c9451a | |
rgb(160, 201, 69, 20%) | #a0c94533 | |
rgb(160, 201, 69, 40%) | #a0c9454C | |
rgb(160, 201, 69, 60%) | #a0c94599 | |
rgb(160, 201, 69, 80%) | #a0c945CC | |
rgb(160, 201, 69, 100%) | #a0c945FF |
Saturated and desaturated colors of #a0c945
HSL Code | Preview |
---|---|
hsl(79, 10%, 53%) | |
hsl(79, 20%, 53%) | |
hsl(79, 40%, 53%) | |
hsl(79, 60%, 53%) | |
hsl(79, 80%, 53%) | |
hsl(79, 100%, 53%) |
#a0c945 Color Usage In CSS
body { color: #a0c945; } p { color: rgb(160, 201, 69); } header { border-bottom:1px solid #a0c945; }