#ae1c3f Color
Color Codes | |
---|---|
Hex Code | #ae1c3f |
RGB Code | rgb(174, 28, 63) |
HSL Code | hsl(346, 72%, 40%) |
#ae1c3f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(174, 28, 63); }
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(346, 72%, 40%); }
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 #ae1c3f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(174, 28, 63, 10%) | #ae1c3f1a | |
rgb(174, 28, 63, 20%) | #ae1c3f33 | |
rgb(174, 28, 63, 40%) | #ae1c3f4C | |
rgb(174, 28, 63, 60%) | #ae1c3f99 | |
rgb(174, 28, 63, 80%) | #ae1c3fCC | |
rgb(174, 28, 63, 100%) | #ae1c3fFF |
Saturated and desaturated colors of #ae1c3f
HSL Code | Preview |
---|---|
hsl(346, 10%, 40%) | |
hsl(346, 20%, 40%) | |
hsl(346, 40%, 40%) | |
hsl(346, 60%, 40%) | |
hsl(346, 80%, 40%) | |
hsl(346, 100%, 40%) |
#ae1c3f Color Usage In CSS
body { color: #ae1c3f; } p { color: rgb(174, 28, 63); } header { border-bottom:1px solid #ae1c3f; }