#a9261e Color
Color Codes | |
---|---|
Hex Code | #a9261e |
RGB Code | rgb(169, 38, 30) |
HSL Code | hsl(3, 70%, 39%) |
#a9261e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 38, 30); }
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(3, 70%, 39%); }
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 #a9261e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 38, 30, 10%) | #a9261e1a | |
rgb(169, 38, 30, 20%) | #a9261e33 | |
rgb(169, 38, 30, 40%) | #a9261e4C | |
rgb(169, 38, 30, 60%) | #a9261e99 | |
rgb(169, 38, 30, 80%) | #a9261eCC | |
rgb(169, 38, 30, 100%) | #a9261eFF |
Saturated and desaturated colors of #a9261e
HSL Code | Preview |
---|---|
hsl(3, 10%, 39%) | |
hsl(3, 20%, 39%) | |
hsl(3, 40%, 39%) | |
hsl(3, 60%, 39%) | |
hsl(3, 80%, 39%) | |
hsl(3, 100%, 39%) |
#a9261e Color Usage In CSS
body { color: #a9261e; } p { color: rgb(169, 38, 30); } header { border-bottom:1px solid #a9261e; }