#ac1424 Color
Color Codes | |
---|---|
Hex Code | #ac1424 |
RGB Code | rgb(172, 20, 36) |
HSL Code | hsl(354, 79%, 38%) |
#ac1424 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(172, 20, 36); }
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(354, 79%, 38%); }
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 #ac1424
RGB Code | Hex Code | Preview |
---|---|---|
rgb(172, 20, 36, 10%) | #ac14241a | |
rgb(172, 20, 36, 20%) | #ac142433 | |
rgb(172, 20, 36, 40%) | #ac14244C | |
rgb(172, 20, 36, 60%) | #ac142499 | |
rgb(172, 20, 36, 80%) | #ac1424CC | |
rgb(172, 20, 36, 100%) | #ac1424FF |
Saturated and desaturated colors of #ac1424
HSL Code | Preview |
---|---|
hsl(354, 10%, 38%) | |
hsl(354, 20%, 38%) | |
hsl(354, 40%, 38%) | |
hsl(354, 60%, 38%) | |
hsl(354, 80%, 38%) | |
hsl(354, 100%, 38%) |
#ac1424 Color Usage In CSS
body { color: #ac1424; } p { color: rgb(172, 20, 36); } header { border-bottom:1px solid #ac1424; }