#a90d9a Color
Color Codes | |
---|---|
Hex Code | #a90d9a |
RGB Code | rgb(169, 13, 154) |
HSL Code | hsl(306, 86%, 36%) |
#a90d9a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 13, 154); }
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(306, 86%, 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 #a90d9a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 13, 154, 10%) | #a90d9a1a | |
rgb(169, 13, 154, 20%) | #a90d9a33 | |
rgb(169, 13, 154, 40%) | #a90d9a4C | |
rgb(169, 13, 154, 60%) | #a90d9a99 | |
rgb(169, 13, 154, 80%) | #a90d9aCC | |
rgb(169, 13, 154, 100%) | #a90d9aFF |
Saturated and desaturated colors of #a90d9a
HSL Code | Preview |
---|---|
hsl(306, 10%, 36%) | |
hsl(306, 20%, 36%) | |
hsl(306, 40%, 36%) | |
hsl(306, 60%, 36%) | |
hsl(306, 80%, 36%) | |
hsl(306, 100%, 36%) |
#a90d9a Color Usage In CSS
body { color: #a90d9a; } p { color: rgb(169, 13, 154); } header { border-bottom:1px solid #a90d9a; }