#ab0135 Color
Color Codes | |
---|---|
Hex Code | #ab0135 |
RGB Code | rgb(171, 01, 53) |
HSL Code | hsl(342, 99%, 34%) |
#ab0135 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 01, 53); }
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, 99%, 34%); }
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 #ab0135
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 01, 53, 10%) | #ab01351a | |
rgb(171, 01, 53, 20%) | #ab013533 | |
rgb(171, 01, 53, 40%) | #ab01354C | |
rgb(171, 01, 53, 60%) | #ab013599 | |
rgb(171, 01, 53, 80%) | #ab0135CC | |
rgb(171, 01, 53, 100%) | #ab0135FF |
Saturated and desaturated colors of #ab0135
HSL Code | Preview |
---|---|
hsl(342, 10%, 34%) | |
hsl(342, 20%, 34%) | |
hsl(342, 40%, 34%) | |
hsl(342, 60%, 34%) | |
hsl(342, 80%, 34%) | |
hsl(342, 100%, 34%) |
#ab0135 Color Usage In CSS
body { color: #ab0135; } p { color: rgb(171, 01, 53); } header { border-bottom:1px solid #ab0135; }