#684e87 Color
Color Codes | |
---|---|
Hex Code | #684e87 |
RGB Code | rgb(104, 78, 135) |
HSL Code | hsl(267, 27%, 42%) |
#684e87 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(104, 78, 135); }
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(267, 27%, 42%); }
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 #684e87
RGB Code | Hex Code | Preview |
---|---|---|
rgb(104, 78, 135, 10%) | #684e871a | |
rgb(104, 78, 135, 20%) | #684e8733 | |
rgb(104, 78, 135, 40%) | #684e874C | |
rgb(104, 78, 135, 60%) | #684e8799 | |
rgb(104, 78, 135, 80%) | #684e87CC | |
rgb(104, 78, 135, 100%) | #684e87FF |
Saturated and desaturated colors of #684e87
HSL Code | Preview |
---|---|
hsl(267, 10%, 42%) | |
hsl(267, 20%, 42%) | |
hsl(267, 40%, 42%) | |
hsl(267, 60%, 42%) | |
hsl(267, 80%, 42%) | |
hsl(267, 100%, 42%) |
#684e87 Color Usage In CSS
body { color: #684e87; } p { color: rgb(104, 78, 135); } header { border-bottom:1px solid #684e87; }