#34f6ab Color
Color Codes | |
---|---|
Hex Code | #34f6ab |
RGB Code | rgb(52, 246, 171) |
HSL Code | hsl(157, 92%, 58%) |
#34f6ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(52, 246, 171); }
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(157, 92%, 58%); }
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 #34f6ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(52, 246, 171, 10%) | #34f6ab1a | |
rgb(52, 246, 171, 20%) | #34f6ab33 | |
rgb(52, 246, 171, 40%) | #34f6ab4C | |
rgb(52, 246, 171, 60%) | #34f6ab99 | |
rgb(52, 246, 171, 80%) | #34f6abCC | |
rgb(52, 246, 171, 100%) | #34f6abFF |
Saturated and desaturated colors of #34f6ab
HSL Code | Preview |
---|---|
hsl(157, 10%, 58%) | |
hsl(157, 20%, 58%) | |
hsl(157, 40%, 58%) | |
hsl(157, 60%, 58%) | |
hsl(157, 80%, 58%) | |
hsl(157, 100%, 58%) |
#34f6ab Color Usage In CSS
body { color: #34f6ab; } p { color: rgb(52, 246, 171); } header { border-bottom:1px solid #34f6ab; }