#6d1679 Color
Color Codes | |
---|---|
Hex Code | #6d1679 |
RGB Code | rgb(109, 22, 121) |
HSL Code | hsl(293, 69%, 28%) |
#6d1679 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(109, 22, 121); }
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(293, 69%, 28%); }
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 #6d1679
RGB Code | Hex Code | Preview |
---|---|---|
rgb(109, 22, 121, 10%) | #6d16791a | |
rgb(109, 22, 121, 20%) | #6d167933 | |
rgb(109, 22, 121, 40%) | #6d16794C | |
rgb(109, 22, 121, 60%) | #6d167999 | |
rgb(109, 22, 121, 80%) | #6d1679CC | |
rgb(109, 22, 121, 100%) | #6d1679FF |
Saturated and desaturated colors of #6d1679
HSL Code | Preview |
---|---|
hsl(293, 10%, 28%) | |
hsl(293, 20%, 28%) | |
hsl(293, 40%, 28%) | |
hsl(293, 60%, 28%) | |
hsl(293, 80%, 28%) | |
hsl(293, 100%, 28%) |
#6d1679 Color Usage In CSS
body { color: #6d1679; } p { color: rgb(109, 22, 121); } header { border-bottom:1px solid #6d1679; }