#397bbb Color
Color Codes | |
---|---|
Hex Code | #397bbb |
RGB Code | rgb(57, 123, 187) |
HSL Code | hsl(210, 53%, 48%) |
#397bbb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(57, 123, 187); }
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(210, 53%, 48%); }
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 #397bbb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(57, 123, 187, 10%) | #397bbb1a | |
rgb(57, 123, 187, 20%) | #397bbb33 | |
rgb(57, 123, 187, 40%) | #397bbb4C | |
rgb(57, 123, 187, 60%) | #397bbb99 | |
rgb(57, 123, 187, 80%) | #397bbbCC | |
rgb(57, 123, 187, 100%) | #397bbbFF |
Saturated and desaturated colors of #397bbb
HSL Code | Preview |
---|---|
hsl(210, 10%, 48%) | |
hsl(210, 20%, 48%) | |
hsl(210, 40%, 48%) | |
hsl(210, 60%, 48%) | |
hsl(210, 80%, 48%) | |
hsl(210, 100%, 48%) |
#397bbb Color Usage In CSS
body { color: #397bbb; } p { color: rgb(57, 123, 187); } header { border-bottom:1px solid #397bbb; }