#2bd51a Color
Color Codes | |
---|---|
Hex Code | #2bd51a |
RGB Code | rgb(43, 213, 26) |
HSL Code | hsl(115, 78%, 47%) |
#2bd51a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(43, 213, 26); }
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(115, 78%, 47%); }
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 #2bd51a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(43, 213, 26, 10%) | #2bd51a1a | |
rgb(43, 213, 26, 20%) | #2bd51a33 | |
rgb(43, 213, 26, 40%) | #2bd51a4C | |
rgb(43, 213, 26, 60%) | #2bd51a99 | |
rgb(43, 213, 26, 80%) | #2bd51aCC | |
rgb(43, 213, 26, 100%) | #2bd51aFF |
Saturated and desaturated colors of #2bd51a
HSL Code | Preview |
---|---|
hsl(115, 10%, 47%) | |
hsl(115, 20%, 47%) | |
hsl(115, 40%, 47%) | |
hsl(115, 60%, 47%) | |
hsl(115, 80%, 47%) | |
hsl(115, 100%, 47%) |
#2bd51a Color Usage In CSS
body { color: #2bd51a; } p { color: rgb(43, 213, 26); } header { border-bottom:1px solid #2bd51a; }