#549a33 Color
Color Codes | |
---|---|
Hex Code | #549a33 |
RGB Code | rgb(84, 154, 51) |
HSL Code | hsl(101, 50%, 40%) |
#549a33 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 154, 51); }
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(101, 50%, 40%); }
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 #549a33
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 154, 51, 10%) | #549a331a | |
rgb(84, 154, 51, 20%) | #549a3333 | |
rgb(84, 154, 51, 40%) | #549a334C | |
rgb(84, 154, 51, 60%) | #549a3399 | |
rgb(84, 154, 51, 80%) | #549a33CC | |
rgb(84, 154, 51, 100%) | #549a33FF |
Saturated and desaturated colors of #549a33
HSL Code | Preview |
---|---|
hsl(101, 10%, 40%) | |
hsl(101, 20%, 40%) | |
hsl(101, 40%, 40%) | |
hsl(101, 60%, 40%) | |
hsl(101, 80%, 40%) | |
hsl(101, 100%, 40%) |
#549a33 Color Usage In CSS
body { color: #549a33; } p { color: rgb(84, 154, 51); } header { border-bottom:1px solid #549a33; }