#abb548 Color
Color Codes | |
---|---|
Hex Code | #abb548 |
RGB Code | rgb(171, 181, 72) |
HSL Code | hsl(66, 43%, 50%) |
#abb548 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 181, 72); }
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(66, 43%, 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 #abb548
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 181, 72, 10%) | #abb5481a | |
rgb(171, 181, 72, 20%) | #abb54833 | |
rgb(171, 181, 72, 40%) | #abb5484C | |
rgb(171, 181, 72, 60%) | #abb54899 | |
rgb(171, 181, 72, 80%) | #abb548CC | |
rgb(171, 181, 72, 100%) | #abb548FF |
Saturated and desaturated colors of #abb548
HSL Code | Preview |
---|---|
hsl(66, 10%, 50%) | |
hsl(66, 20%, 50%) | |
hsl(66, 40%, 50%) | |
hsl(66, 60%, 50%) | |
hsl(66, 80%, 50%) | |
hsl(66, 100%, 50%) |
#abb548 Color Usage In CSS
body { color: #abb548; } p { color: rgb(171, 181, 72); } header { border-bottom:1px solid #abb548; }