#34f22a Color
Color Codes | |
---|---|
Hex Code | #34f22a |
RGB Code | rgb(52, 242, 42) |
HSL Code | hsl(117, 88%, 56%) |
#34f22a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(52, 242, 42); }
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(117, 88%, 56%); }
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 #34f22a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(52, 242, 42, 10%) | #34f22a1a | |
rgb(52, 242, 42, 20%) | #34f22a33 | |
rgb(52, 242, 42, 40%) | #34f22a4C | |
rgb(52, 242, 42, 60%) | #34f22a99 | |
rgb(52, 242, 42, 80%) | #34f22aCC | |
rgb(52, 242, 42, 100%) | #34f22aFF |
Saturated and desaturated colors of #34f22a
HSL Code | Preview |
---|---|
hsl(117, 10%, 56%) | |
hsl(117, 20%, 56%) | |
hsl(117, 40%, 56%) | |
hsl(117, 60%, 56%) | |
hsl(117, 80%, 56%) | |
hsl(117, 100%, 56%) |
#34f22a Color Usage In CSS
body { color: #34f22a; } p { color: rgb(52, 242, 42); } header { border-bottom:1px solid #34f22a; }