#ac2c03 Color
Color Codes | |
---|---|
Hex Code | #ac2c03 |
RGB Code | rgb(172, 44, 03) |
HSL Code | hsl(15, 97%, 34%) |
#ac2c03 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(172, 44, 03); }
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(15, 97%, 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 #ac2c03
RGB Code | Hex Code | Preview |
---|---|---|
rgb(172, 44, 03, 10%) | #ac2c031a | |
rgb(172, 44, 03, 20%) | #ac2c0333 | |
rgb(172, 44, 03, 40%) | #ac2c034C | |
rgb(172, 44, 03, 60%) | #ac2c0399 | |
rgb(172, 44, 03, 80%) | #ac2c03CC | |
rgb(172, 44, 03, 100%) | #ac2c03FF |
Saturated and desaturated colors of #ac2c03
HSL Code | Preview |
---|---|
hsl(15, 10%, 34%) | |
hsl(15, 20%, 34%) | |
hsl(15, 40%, 34%) | |
hsl(15, 60%, 34%) | |
hsl(15, 80%, 34%) | |
hsl(15, 100%, 34%) |
#ac2c03 Color Usage In CSS
body { color: #ac2c03; } p { color: rgb(172, 44, 03); } header { border-bottom:1px solid #ac2c03; }