#3e8980 Color
Color Codes | |
---|---|
Hex Code | #3e8980 |
RGB Code | rgb(62, 137, 128) |
HSL Code | hsl(173, 38%, 39%) |
#3e8980 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 137, 128); }
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(173, 38%, 39%); }
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 #3e8980
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 137, 128, 10%) | #3e89801a | |
rgb(62, 137, 128, 20%) | #3e898033 | |
rgb(62, 137, 128, 40%) | #3e89804C | |
rgb(62, 137, 128, 60%) | #3e898099 | |
rgb(62, 137, 128, 80%) | #3e8980CC | |
rgb(62, 137, 128, 100%) | #3e8980FF |
Saturated and desaturated colors of #3e8980
HSL Code | Preview |
---|---|
hsl(173, 10%, 39%) | |
hsl(173, 20%, 39%) | |
hsl(173, 40%, 39%) | |
hsl(173, 60%, 39%) | |
hsl(173, 80%, 39%) | |
hsl(173, 100%, 39%) |
#3e8980 Color Usage In CSS
body { color: #3e8980; } p { color: rgb(62, 137, 128); } header { border-bottom:1px solid #3e8980; }