#2db914 Color
Color Codes | |
---|---|
Hex Code | #2db914 |
RGB Code | rgb(45, 185, 20) |
HSL Code | hsl(111, 80%, 40%) |
#2db914 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(45, 185, 20); }
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(111, 80%, 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 #2db914
RGB Code | Hex Code | Preview |
---|---|---|
rgb(45, 185, 20, 10%) | #2db9141a | |
rgb(45, 185, 20, 20%) | #2db91433 | |
rgb(45, 185, 20, 40%) | #2db9144C | |
rgb(45, 185, 20, 60%) | #2db91499 | |
rgb(45, 185, 20, 80%) | #2db914CC | |
rgb(45, 185, 20, 100%) | #2db914FF |
Saturated and desaturated colors of #2db914
HSL Code | Preview |
---|---|
hsl(111, 10%, 40%) | |
hsl(111, 20%, 40%) | |
hsl(111, 40%, 40%) | |
hsl(111, 60%, 40%) | |
hsl(111, 80%, 40%) | |
hsl(111, 100%, 40%) |
#2db914 Color Usage In CSS
body { color: #2db914; } p { color: rgb(45, 185, 20); } header { border-bottom:1px solid #2db914; }