#8fa930 Color
Color Codes | |
---|---|
Hex Code | #8fa930 |
RGB Code | rgb(143, 169, 48) |
HSL Code | hsl(73, 56%, 43%) |
#8fa930 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(143, 169, 48); }
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(73, 56%, 43%); }
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 #8fa930
RGB Code | Hex Code | Preview |
---|---|---|
rgb(143, 169, 48, 10%) | #8fa9301a | |
rgb(143, 169, 48, 20%) | #8fa93033 | |
rgb(143, 169, 48, 40%) | #8fa9304C | |
rgb(143, 169, 48, 60%) | #8fa93099 | |
rgb(143, 169, 48, 80%) | #8fa930CC | |
rgb(143, 169, 48, 100%) | #8fa930FF |
Saturated and desaturated colors of #8fa930
HSL Code | Preview |
---|---|
hsl(73, 10%, 43%) | |
hsl(73, 20%, 43%) | |
hsl(73, 40%, 43%) | |
hsl(73, 60%, 43%) | |
hsl(73, 80%, 43%) | |
hsl(73, 100%, 43%) |
#8fa930 Color Usage In CSS
body { color: #8fa930; } p { color: rgb(143, 169, 48); } header { border-bottom:1px solid #8fa930; }