#6d044c Color
Color Codes | |
---|---|
Hex Code | #6d044c |
RGB Code | rgb(109, 04, 76) |
HSL Code | hsl(319, 93%, 22%) |
#6d044c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(109, 04, 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, 93%, 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 #6d044c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(109, 04, 76, 10%) | #6d044c1a | |
rgb(109, 04, 76, 20%) | #6d044c33 | |
rgb(109, 04, 76, 40%) | #6d044c4C | |
rgb(109, 04, 76, 60%) | #6d044c99 | |
rgb(109, 04, 76, 80%) | #6d044cCC | |
rgb(109, 04, 76, 100%) | #6d044cFF |
Saturated and desaturated colors of #6d044c
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%) |
#6d044c Color Usage In CSS
body { color: #6d044c; } p { color: rgb(109, 04, 76); } header { border-bottom:1px solid #6d044c; }