#a9c421 Color
Color Codes | |
---|---|
Hex Code | #a9c421 |
RGB Code | rgb(169, 196, 33) |
HSL Code | hsl(70, 71%, 45%) |
#a9c421 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 196, 33); }
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(70, 71%, 45%); }
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 #a9c421
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 196, 33, 10%) | #a9c4211a | |
rgb(169, 196, 33, 20%) | #a9c42133 | |
rgb(169, 196, 33, 40%) | #a9c4214C | |
rgb(169, 196, 33, 60%) | #a9c42199 | |
rgb(169, 196, 33, 80%) | #a9c421CC | |
rgb(169, 196, 33, 100%) | #a9c421FF |
Saturated and desaturated colors of #a9c421
HSL Code | Preview |
---|---|
hsl(70, 10%, 45%) | |
hsl(70, 20%, 45%) | |
hsl(70, 40%, 45%) | |
hsl(70, 60%, 45%) | |
hsl(70, 80%, 45%) | |
hsl(70, 100%, 45%) |
#a9c421 Color Usage In CSS
body { color: #a9c421; } p { color: rgb(169, 196, 33); } header { border-bottom:1px solid #a9c421; }