#6c054c Color
Color Codes | |
---|---|
Hex Code | #6c054c |
RGB Code | rgb(108, 05, 76) |
HSL Code | hsl(319, 91%, 22%) |
#6c054c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(108, 05, 76); }
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, 91%, 22%); }
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 #6c054c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(108, 05, 76, 10%) | #6c054c1a | |
rgb(108, 05, 76, 20%) | #6c054c33 | |
rgb(108, 05, 76, 40%) | #6c054c4C | |
rgb(108, 05, 76, 60%) | #6c054c99 | |
rgb(108, 05, 76, 80%) | #6c054cCC | |
rgb(108, 05, 76, 100%) | #6c054cFF |
Saturated and desaturated colors of #6c054c
HSL Code | Preview |
---|---|
hsl(319, 10%, 22%) | |
hsl(319, 20%, 22%) | |
hsl(319, 40%, 22%) | |
hsl(319, 60%, 22%) | |
hsl(319, 80%, 22%) | |
hsl(319, 100%, 22%) |
#6c054c Color Usage In CSS
body { color: #6c054c; } p { color: rgb(108, 05, 76); } header { border-bottom:1px solid #6c054c; }