#373c9e Color
Color Codes | |
---|---|
Hex Code | #373c9e |
RGB Code | rgb(55, 60, 158) |
HSL Code | hsl(237, 48%, 42%) |
#373c9e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(55, 60, 158); }
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(237, 48%, 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 #373c9e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(55, 60, 158, 10%) | #373c9e1a | |
rgb(55, 60, 158, 20%) | #373c9e33 | |
rgb(55, 60, 158, 40%) | #373c9e4C | |
rgb(55, 60, 158, 60%) | #373c9e99 | |
rgb(55, 60, 158, 80%) | #373c9eCC | |
rgb(55, 60, 158, 100%) | #373c9eFF |
Saturated and desaturated colors of #373c9e
HSL Code | Preview |
---|---|
hsl(237, 10%, 42%) | |
hsl(237, 20%, 42%) | |
hsl(237, 40%, 42%) | |
hsl(237, 60%, 42%) | |
hsl(237, 80%, 42%) | |
hsl(237, 100%, 42%) |
#373c9e Color Usage In CSS
body { color: #373c9e; } p { color: rgb(55, 60, 158); } header { border-bottom:1px solid #373c9e; }