#846ac6 Color
Color Codes | |
---|---|
Hex Code | #846ac6 |
RGB Code | rgb(132, 106, 198) |
HSL Code | hsl(257, 45%, 60%) |
#846ac6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(132, 106, 198); }
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(257, 45%, 60%); }
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 #846ac6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(132, 106, 198, 10%) | #846ac61a | |
rgb(132, 106, 198, 20%) | #846ac633 | |
rgb(132, 106, 198, 40%) | #846ac64C | |
rgb(132, 106, 198, 60%) | #846ac699 | |
rgb(132, 106, 198, 80%) | #846ac6CC | |
rgb(132, 106, 198, 100%) | #846ac6FF |
Saturated and desaturated colors of #846ac6
HSL Code | Preview |
---|---|
hsl(257, 10%, 60%) | |
hsl(257, 20%, 60%) | |
hsl(257, 40%, 60%) | |
hsl(257, 60%, 60%) | |
hsl(257, 80%, 60%) | |
hsl(257, 100%, 60%) |
#846ac6 Color Usage In CSS
body { color: #846ac6; } p { color: rgb(132, 106, 198); } header { border-bottom:1px solid #846ac6; }