#31d124 Color
Color Codes | |
---|---|
Hex Code | #31d124 |
RGB Code | rgb(49, 209, 36) |
HSL Code | hsl(115, 71%, 48%) |
#31d124 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(49, 209, 36); }
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, 71%, 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 #31d124
RGB Code | Hex Code | Preview |
---|---|---|
rgb(49, 209, 36, 10%) | #31d1241a | |
rgb(49, 209, 36, 20%) | #31d12433 | |
rgb(49, 209, 36, 40%) | #31d1244C | |
rgb(49, 209, 36, 60%) | #31d12499 | |
rgb(49, 209, 36, 80%) | #31d124CC | |
rgb(49, 209, 36, 100%) | #31d124FF |
Saturated and desaturated colors of #31d124
HSL Code | Preview |
---|---|
hsl(115, 10%, 48%) | |
hsl(115, 20%, 48%) | |
hsl(115, 40%, 48%) | |
hsl(115, 60%, 48%) | |
hsl(115, 80%, 48%) | |
hsl(115, 100%, 48%) |
#31d124 Color Usage In CSS
body { color: #31d124; } p { color: rgb(49, 209, 36); } header { border-bottom:1px solid #31d124; }