#15405d Color
Color Codes | |
---|---|
Hex Code | #15405d |
RGB Code | rgb(21, 64, 93) |
HSL Code | hsl(204, 63%, 22%) |
#15405d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 64, 93); }
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(204, 63%, 22%); }
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 #15405d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 64, 93, 10%) | #15405d1a | |
rgb(21, 64, 93, 20%) | #15405d33 | |
rgb(21, 64, 93, 40%) | #15405d4C | |
rgb(21, 64, 93, 60%) | #15405d99 | |
rgb(21, 64, 93, 80%) | #15405dCC | |
rgb(21, 64, 93, 100%) | #15405dFF |
Saturated and desaturated colors of #15405d
HSL Code | Preview |
---|---|
hsl(204, 10%, 22%) | |
hsl(204, 20%, 22%) | |
hsl(204, 40%, 22%) | |
hsl(204, 60%, 22%) | |
hsl(204, 80%, 22%) | |
hsl(204, 100%, 22%) |
#15405d Color Usage In CSS
body { color: #15405d; } p { color: rgb(21, 64, 93); } header { border-bottom:1px solid #15405d; }