#3d7f9d Color
Color Codes | |
---|---|
Hex Code | #3d7f9d |
RGB Code | rgb(61, 127, 157) |
HSL Code | hsl(199, 44%, 43%) |
#3d7f9d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(61, 127, 157); }
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(199, 44%, 43%); }
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 #3d7f9d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(61, 127, 157, 10%) | #3d7f9d1a | |
rgb(61, 127, 157, 20%) | #3d7f9d33 | |
rgb(61, 127, 157, 40%) | #3d7f9d4C | |
rgb(61, 127, 157, 60%) | #3d7f9d99 | |
rgb(61, 127, 157, 80%) | #3d7f9dCC | |
rgb(61, 127, 157, 100%) | #3d7f9dFF |
Saturated and desaturated colors of #3d7f9d
HSL Code | Preview |
---|---|
hsl(199, 10%, 43%) | |
hsl(199, 20%, 43%) | |
hsl(199, 40%, 43%) | |
hsl(199, 60%, 43%) | |
hsl(199, 80%, 43%) | |
hsl(199, 100%, 43%) |
#3d7f9d Color Usage In CSS
body { color: #3d7f9d; } p { color: rgb(61, 127, 157); } header { border-bottom:1px solid #3d7f9d; }