#ae0c4f Color
Color Codes | |
---|---|
Hex Code | #ae0c4f |
RGB Code | rgb(174, 12, 79) |
HSL Code | hsl(335, 87%, 36%) |
#ae0c4f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(174, 12, 79); }
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(335, 87%, 36%); }
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 #ae0c4f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(174, 12, 79, 10%) | #ae0c4f1a | |
rgb(174, 12, 79, 20%) | #ae0c4f33 | |
rgb(174, 12, 79, 40%) | #ae0c4f4C | |
rgb(174, 12, 79, 60%) | #ae0c4f99 | |
rgb(174, 12, 79, 80%) | #ae0c4fCC | |
rgb(174, 12, 79, 100%) | #ae0c4fFF |
Saturated and desaturated colors of #ae0c4f
HSL Code | Preview |
---|---|
hsl(335, 10%, 36%) | |
hsl(335, 20%, 36%) | |
hsl(335, 40%, 36%) | |
hsl(335, 60%, 36%) | |
hsl(335, 80%, 36%) | |
hsl(335, 100%, 36%) |
#ae0c4f Color Usage In CSS
body { color: #ae0c4f; } p { color: rgb(174, 12, 79); } header { border-bottom:1px solid #ae0c4f; }