#7c086c Color
Color Codes | |
---|---|
Hex Code | #7c086c |
RGB Code | rgb(124, 08, 108) |
HSL Code | hsl(308, 88%, 26%) |
#7c086c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(124, 08, 108); }
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(308, 88%, 26%); }
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 #7c086c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(124, 08, 108, 10%) | #7c086c1a | |
rgb(124, 08, 108, 20%) | #7c086c33 | |
rgb(124, 08, 108, 40%) | #7c086c4C | |
rgb(124, 08, 108, 60%) | #7c086c99 | |
rgb(124, 08, 108, 80%) | #7c086cCC | |
rgb(124, 08, 108, 100%) | #7c086cFF |
Saturated and desaturated colors of #7c086c
HSL Code | Preview |
---|---|
hsl(308, 10%, 26%) | |
hsl(308, 20%, 26%) | |
hsl(308, 40%, 26%) | |
hsl(308, 60%, 26%) | |
hsl(308, 80%, 26%) | |
hsl(308, 100%, 26%) |
#7c086c Color Usage In CSS
body { color: #7c086c; } p { color: rgb(124, 08, 108); } header { border-bottom:1px solid #7c086c; }