#a12568 Color
Color Codes | |
---|---|
Hex Code | #a12568 |
RGB Code | rgb(161, 37, 104) |
HSL Code | hsl(328, 63%, 39%) |
#a12568 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 37, 104); }
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(328, 63%, 39%); }
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 #a12568
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 37, 104, 10%) | #a125681a | |
rgb(161, 37, 104, 20%) | #a1256833 | |
rgb(161, 37, 104, 40%) | #a125684C | |
rgb(161, 37, 104, 60%) | #a1256899 | |
rgb(161, 37, 104, 80%) | #a12568CC | |
rgb(161, 37, 104, 100%) | #a12568FF |
Saturated and desaturated colors of #a12568
HSL Code | Preview |
---|---|
hsl(328, 10%, 39%) | |
hsl(328, 20%, 39%) | |
hsl(328, 40%, 39%) | |
hsl(328, 60%, 39%) | |
hsl(328, 80%, 39%) | |
hsl(328, 100%, 39%) |
#a12568 Color Usage In CSS
body { color: #a12568; } p { color: rgb(161, 37, 104); } header { border-bottom:1px solid #a12568; }