#315884 Color
Color Codes | |
---|---|
Hex Code | #315884 |
RGB Code | rgb(49, 88, 132) |
HSL Code | hsl(212, 46%, 35%) |
#315884 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(49, 88, 132); }
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(212, 46%, 35%); }
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 #315884
RGB Code | Hex Code | Preview |
---|---|---|
rgb(49, 88, 132, 10%) | #3158841a | |
rgb(49, 88, 132, 20%) | #31588433 | |
rgb(49, 88, 132, 40%) | #3158844C | |
rgb(49, 88, 132, 60%) | #31588499 | |
rgb(49, 88, 132, 80%) | #315884CC | |
rgb(49, 88, 132, 100%) | #315884FF |
Saturated and desaturated colors of #315884
HSL Code | Preview |
---|---|
hsl(212, 10%, 35%) | |
hsl(212, 20%, 35%) | |
hsl(212, 40%, 35%) | |
hsl(212, 60%, 35%) | |
hsl(212, 80%, 35%) | |
hsl(212, 100%, 35%) |
#315884 Color Usage In CSS
body { color: #315884; } p { color: rgb(49, 88, 132); } header { border-bottom:1px solid #315884; }