#2dc99a Color
Color Codes | |
---|---|
Hex Code | #2dc99a |
RGB Code | rgb(45, 201, 154) |
HSL Code | hsl(162, 63%, 48%) |
#2dc99a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(45, 201, 154); }
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(162, 63%, 48%); }
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 #2dc99a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(45, 201, 154, 10%) | #2dc99a1a | |
rgb(45, 201, 154, 20%) | #2dc99a33 | |
rgb(45, 201, 154, 40%) | #2dc99a4C | |
rgb(45, 201, 154, 60%) | #2dc99a99 | |
rgb(45, 201, 154, 80%) | #2dc99aCC | |
rgb(45, 201, 154, 100%) | #2dc99aFF |
Saturated and desaturated colors of #2dc99a
HSL Code | Preview |
---|---|
hsl(162, 10%, 48%) | |
hsl(162, 20%, 48%) | |
hsl(162, 40%, 48%) | |
hsl(162, 60%, 48%) | |
hsl(162, 80%, 48%) | |
hsl(162, 100%, 48%) |
#2dc99a Color Usage In CSS
body { color: #2dc99a; } p { color: rgb(45, 201, 154); } header { border-bottom:1px solid #2dc99a; }