#394b70 Color
Color Codes | |
---|---|
Hex Code | #394b70 |
RGB Code | rgb(57, 75, 112) |
HSL Code | hsl(220, 33%, 33%) |
#394b70 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(57, 75, 112); }
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(220, 33%, 33%); }
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 #394b70
RGB Code | Hex Code | Preview |
---|---|---|
rgb(57, 75, 112, 10%) | #394b701a | |
rgb(57, 75, 112, 20%) | #394b7033 | |
rgb(57, 75, 112, 40%) | #394b704C | |
rgb(57, 75, 112, 60%) | #394b7099 | |
rgb(57, 75, 112, 80%) | #394b70CC | |
rgb(57, 75, 112, 100%) | #394b70FF |
Saturated and desaturated colors of #394b70
HSL Code | Preview |
---|---|
hsl(220, 10%, 33%) | |
hsl(220, 20%, 33%) | |
hsl(220, 40%, 33%) | |
hsl(220, 60%, 33%) | |
hsl(220, 80%, 33%) | |
hsl(220, 100%, 33%) |
#394b70 Color Usage In CSS
body { color: #394b70; } p { color: rgb(57, 75, 112); } header { border-bottom:1px solid #394b70; }