#54a969 Color
Color Codes | |
---|---|
Hex Code | #54a969 |
RGB Code | rgb(84, 169, 105) |
HSL Code | hsl(135, 34%, 50%) |
#54a969 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 169, 105); }
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(135, 34%, 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 #54a969
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 169, 105, 10%) | #54a9691a | |
rgb(84, 169, 105, 20%) | #54a96933 | |
rgb(84, 169, 105, 40%) | #54a9694C | |
rgb(84, 169, 105, 60%) | #54a96999 | |
rgb(84, 169, 105, 80%) | #54a969CC | |
rgb(84, 169, 105, 100%) | #54a969FF |
Saturated and desaturated colors of #54a969
HSL Code | Preview |
---|---|
hsl(135, 10%, 50%) | |
hsl(135, 20%, 50%) | |
hsl(135, 40%, 50%) | |
hsl(135, 60%, 50%) | |
hsl(135, 80%, 50%) | |
hsl(135, 100%, 50%) |
#54a969 Color Usage In CSS
body { color: #54a969; } p { color: rgb(84, 169, 105); } header { border-bottom:1px solid #54a969; }