#a1407b Color
Color Codes | |
---|---|
Hex Code | #a1407b |
RGB Code | rgb(161, 64, 123) |
HSL Code | hsl(324, 43%, 44%) |
#a1407b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 64, 123); }
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(324, 43%, 44%); }
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 #a1407b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 64, 123, 10%) | #a1407b1a | |
rgb(161, 64, 123, 20%) | #a1407b33 | |
rgb(161, 64, 123, 40%) | #a1407b4C | |
rgb(161, 64, 123, 60%) | #a1407b99 | |
rgb(161, 64, 123, 80%) | #a1407bCC | |
rgb(161, 64, 123, 100%) | #a1407bFF |
Saturated and desaturated colors of #a1407b
HSL Code | Preview |
---|---|
hsl(324, 10%, 44%) | |
hsl(324, 20%, 44%) | |
hsl(324, 40%, 44%) | |
hsl(324, 60%, 44%) | |
hsl(324, 80%, 44%) | |
hsl(324, 100%, 44%) |
#a1407b Color Usage In CSS
body { color: #a1407b; } p { color: rgb(161, 64, 123); } header { border-bottom:1px solid #a1407b; }