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