#3a629b Color
Color Codes | |
---|---|
Hex Code | #3a629b |
RGB Code | rgb(58, 98, 155) |
HSL Code | hsl(215, 46%, 42%) |
#3a629b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(58, 98, 155); }
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(215, 46%, 42%); }
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 #3a629b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(58, 98, 155, 10%) | #3a629b1a | |
rgb(58, 98, 155, 20%) | #3a629b33 | |
rgb(58, 98, 155, 40%) | #3a629b4C | |
rgb(58, 98, 155, 60%) | #3a629b99 | |
rgb(58, 98, 155, 80%) | #3a629bCC | |
rgb(58, 98, 155, 100%) | #3a629bFF |
Saturated and desaturated colors of #3a629b
HSL Code | Preview |
---|---|
hsl(215, 10%, 42%) | |
hsl(215, 20%, 42%) | |
hsl(215, 40%, 42%) | |
hsl(215, 60%, 42%) | |
hsl(215, 80%, 42%) | |
hsl(215, 100%, 42%) |
#3a629b Color Usage In CSS
body { color: #3a629b; } p { color: rgb(58, 98, 155); } header { border-bottom:1px solid #3a629b; }