#8a0c63 Color
Color Codes | |
---|---|
Hex Code | #8a0c63 |
RGB Code | rgb(138, 12, 99) |
HSL Code | hsl(319, 84%, 29%) |
#8a0c63 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(138, 12, 99); }
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(319, 84%, 29%); }
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 #8a0c63
RGB Code | Hex Code | Preview |
---|---|---|
rgb(138, 12, 99, 10%) | #8a0c631a | |
rgb(138, 12, 99, 20%) | #8a0c6333 | |
rgb(138, 12, 99, 40%) | #8a0c634C | |
rgb(138, 12, 99, 60%) | #8a0c6399 | |
rgb(138, 12, 99, 80%) | #8a0c63CC | |
rgb(138, 12, 99, 100%) | #8a0c63FF |
Saturated and desaturated colors of #8a0c63
HSL Code | Preview |
---|---|
hsl(319, 10%, 29%) | |
hsl(319, 20%, 29%) | |
hsl(319, 40%, 29%) | |
hsl(319, 60%, 29%) | |
hsl(319, 80%, 29%) | |
hsl(319, 100%, 29%) |
#8a0c63 Color Usage In CSS
body { color: #8a0c63; } p { color: rgb(138, 12, 99); } header { border-bottom:1px solid #8a0c63; }