#862878 Color
Color Codes | |
---|---|
Hex Code | #862878 |
RGB Code | rgb(134, 40, 120) |
HSL Code | hsl(309, 54%, 34%) |
#862878 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(134, 40, 120); }
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(309, 54%, 34%); }
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 #862878
RGB Code | Hex Code | Preview |
---|---|---|
rgb(134, 40, 120, 10%) | #8628781a | |
rgb(134, 40, 120, 20%) | #86287833 | |
rgb(134, 40, 120, 40%) | #8628784C | |
rgb(134, 40, 120, 60%) | #86287899 | |
rgb(134, 40, 120, 80%) | #862878CC | |
rgb(134, 40, 120, 100%) | #862878FF |
Saturated and desaturated colors of #862878
HSL Code | Preview |
---|---|
hsl(309, 10%, 34%) | |
hsl(309, 20%, 34%) | |
hsl(309, 40%, 34%) | |
hsl(309, 60%, 34%) | |
hsl(309, 80%, 34%) | |
hsl(309, 100%, 34%) |
#862878 Color Usage In CSS
body { color: #862878; } p { color: rgb(134, 40, 120); } header { border-bottom:1px solid #862878; }