#213c5f Color
Color Codes | |
---|---|
Hex Code | #213c5f |
RGB Code | rgb(33, 60, 95) |
HSL Code | hsl(214, 48%, 25%) |
#213c5f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(33, 60, 95); }
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(214, 48%, 25%); }
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 #213c5f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(33, 60, 95, 10%) | #213c5f1a | |
rgb(33, 60, 95, 20%) | #213c5f33 | |
rgb(33, 60, 95, 40%) | #213c5f4C | |
rgb(33, 60, 95, 60%) | #213c5f99 | |
rgb(33, 60, 95, 80%) | #213c5fCC | |
rgb(33, 60, 95, 100%) | #213c5fFF |
Saturated and desaturated colors of #213c5f
HSL Code | Preview |
---|---|
hsl(214, 10%, 25%) | |
hsl(214, 20%, 25%) | |
hsl(214, 40%, 25%) | |
hsl(214, 60%, 25%) | |
hsl(214, 80%, 25%) | |
hsl(214, 100%, 25%) |
#213c5f Color Usage In CSS
body { color: #213c5f; } p { color: rgb(33, 60, 95); } header { border-bottom:1px solid #213c5f; }