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