#396097 Color
Color Codes | |
---|---|
Hex Code | #396097 |
RGB Code | rgb(57, 96, 151) |
HSL Code | hsl(215, 45%, 41%) |
#396097 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(57, 96, 151); }
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, 45%, 41%); }
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 #396097
RGB Code | Hex Code | Preview |
---|---|---|
rgb(57, 96, 151, 10%) | #3960971a | |
rgb(57, 96, 151, 20%) | #39609733 | |
rgb(57, 96, 151, 40%) | #3960974C | |
rgb(57, 96, 151, 60%) | #39609799 | |
rgb(57, 96, 151, 80%) | #396097CC | |
rgb(57, 96, 151, 100%) | #396097FF |
Saturated and desaturated colors of #396097
HSL Code | Preview |
---|---|
hsl(215, 10%, 41%) | |
hsl(215, 20%, 41%) | |
hsl(215, 40%, 41%) | |
hsl(215, 60%, 41%) | |
hsl(215, 80%, 41%) | |
hsl(215, 100%, 41%) |
#396097 Color Usage In CSS
body { color: #396097; } p { color: rgb(57, 96, 151); } header { border-bottom:1px solid #396097; }