#6f516f Color
Color Codes | |
---|---|
Hex Code | #6f516f |
RGB Code | rgb(111, 81, 111) |
HSL Code | hsl(300, 16%, 38%) |
#6f516f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(111, 81, 111); }
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(300, 16%, 38%); }
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 #6f516f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(111, 81, 111, 10%) | #6f516f1a | |
rgb(111, 81, 111, 20%) | #6f516f33 | |
rgb(111, 81, 111, 40%) | #6f516f4C | |
rgb(111, 81, 111, 60%) | #6f516f99 | |
rgb(111, 81, 111, 80%) | #6f516fCC | |
rgb(111, 81, 111, 100%) | #6f516fFF |
Saturated and desaturated colors of #6f516f
HSL Code | Preview |
---|---|
hsl(300, 10%, 38%) | |
hsl(300, 20%, 38%) | |
hsl(300, 40%, 38%) | |
hsl(300, 60%, 38%) | |
hsl(300, 80%, 38%) | |
hsl(300, 100%, 38%) |
#6f516f Color Usage In CSS
body { color: #6f516f; } p { color: rgb(111, 81, 111); } header { border-bottom:1px solid #6f516f; }