#549c34 Color
Color Codes | |
---|---|
Hex Code | #549c34 |
RGB Code | rgb(84, 156, 52) |
HSL Code | hsl(102, 50%, 41%) |
#549c34 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 156, 52); }
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(102, 50%, 41%); }
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 #549c34
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 156, 52, 10%) | #549c341a | |
rgb(84, 156, 52, 20%) | #549c3433 | |
rgb(84, 156, 52, 40%) | #549c344C | |
rgb(84, 156, 52, 60%) | #549c3499 | |
rgb(84, 156, 52, 80%) | #549c34CC | |
rgb(84, 156, 52, 100%) | #549c34FF |
Saturated and desaturated colors of #549c34
HSL Code | Preview |
---|---|
hsl(102, 10%, 41%) | |
hsl(102, 20%, 41%) | |
hsl(102, 40%, 41%) | |
hsl(102, 60%, 41%) | |
hsl(102, 80%, 41%) | |
hsl(102, 100%, 41%) |
#549c34 Color Usage In CSS
body { color: #549c34; } p { color: rgb(84, 156, 52); } header { border-bottom:1px solid #549c34; }