#31d59f Color
Color Codes | |
---|---|
Hex Code | #31d59f |
RGB Code | rgb(49, 213, 159) |
HSL Code | hsl(160, 66%, 51%) |
#31d59f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(49, 213, 159); }
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(160, 66%, 51%); }
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 #31d59f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(49, 213, 159, 10%) | #31d59f1a | |
rgb(49, 213, 159, 20%) | #31d59f33 | |
rgb(49, 213, 159, 40%) | #31d59f4C | |
rgb(49, 213, 159, 60%) | #31d59f99 | |
rgb(49, 213, 159, 80%) | #31d59fCC | |
rgb(49, 213, 159, 100%) | #31d59fFF |
Saturated and desaturated colors of #31d59f
HSL Code | Preview |
---|---|
hsl(160, 10%, 51%) | |
hsl(160, 20%, 51%) | |
hsl(160, 40%, 51%) | |
hsl(160, 60%, 51%) | |
hsl(160, 80%, 51%) | |
hsl(160, 100%, 51%) |
#31d59f Color Usage In CSS
body { color: #31d59f; } p { color: rgb(49, 213, 159); } header { border-bottom:1px solid #31d59f; }