#ae022d Color
Color Codes | |
---|---|
Hex Code | #ae022d |
RGB Code | rgb(174, 02, 45) |
HSL Code | hsl(345, 98%, 35%) |
#ae022d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(174, 02, 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(345, 98%, 35%); }
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 #ae022d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(174, 02, 45, 10%) | #ae022d1a | |
rgb(174, 02, 45, 20%) | #ae022d33 | |
rgb(174, 02, 45, 40%) | #ae022d4C | |
rgb(174, 02, 45, 60%) | #ae022d99 | |
rgb(174, 02, 45, 80%) | #ae022dCC | |
rgb(174, 02, 45, 100%) | #ae022dFF |
Saturated and desaturated colors of #ae022d
HSL Code | Preview |
---|---|
hsl(345, 10%, 35%) | |
hsl(345, 20%, 35%) | |
hsl(345, 40%, 35%) | |
hsl(345, 60%, 35%) | |
hsl(345, 80%, 35%) | |
hsl(345, 100%, 35%) |
#ae022d Color Usage In CSS
body { color: #ae022d; } p { color: rgb(174, 02, 45); } header { border-bottom:1px solid #ae022d; }