#385289 Color
Color Codes | |
---|---|
Hex Code | #385289 |
RGB Code | rgb(56, 82, 137) |
HSL Code | hsl(221, 42%, 38%) |
#385289 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 82, 137); }
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(221, 42%, 38%); }
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 #385289
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 82, 137, 10%) | #3852891a | |
rgb(56, 82, 137, 20%) | #38528933 | |
rgb(56, 82, 137, 40%) | #3852894C | |
rgb(56, 82, 137, 60%) | #38528999 | |
rgb(56, 82, 137, 80%) | #385289CC | |
rgb(56, 82, 137, 100%) | #385289FF |
Saturated and desaturated colors of #385289
HSL Code | Preview |
---|---|
hsl(221, 10%, 38%) | |
hsl(221, 20%, 38%) | |
hsl(221, 40%, 38%) | |
hsl(221, 60%, 38%) | |
hsl(221, 80%, 38%) | |
hsl(221, 100%, 38%) |
#385289 Color Usage In CSS
body { color: #385289; } p { color: rgb(56, 82, 137); } header { border-bottom:1px solid #385289; }