#ae06b6 Color
Color Codes | |
---|---|
Hex Code | #ae06b6 |
RGB Code | rgb(174, 06, 182) |
HSL Code | hsl(297, 94%, 37%) |
#ae06b6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(174, 06, 182); }
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(297, 94%, 37%); }
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 #ae06b6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(174, 06, 182, 10%) | #ae06b61a | |
rgb(174, 06, 182, 20%) | #ae06b633 | |
rgb(174, 06, 182, 40%) | #ae06b64C | |
rgb(174, 06, 182, 60%) | #ae06b699 | |
rgb(174, 06, 182, 80%) | #ae06b6CC | |
rgb(174, 06, 182, 100%) | #ae06b6FF |
Saturated and desaturated colors of #ae06b6
HSL Code | Preview |
---|---|
hsl(297, 10%, 37%) | |
hsl(297, 20%, 37%) | |
hsl(297, 40%, 37%) | |
hsl(297, 60%, 37%) | |
hsl(297, 80%, 37%) | |
hsl(297, 100%, 37%) |
#ae06b6 Color Usage In CSS
body { color: #ae06b6; } p { color: rgb(174, 06, 182); } header { border-bottom:1px solid #ae06b6; }