#846bbb Color
Color Codes | |
---|---|
Hex Code | #846bbb |
RGB Code | rgb(132, 107, 187) |
HSL Code | hsl(259, 37%, 58%) |
#846bbb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(132, 107, 187); }
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(259, 37%, 58%); }
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 #846bbb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(132, 107, 187, 10%) | #846bbb1a | |
rgb(132, 107, 187, 20%) | #846bbb33 | |
rgb(132, 107, 187, 40%) | #846bbb4C | |
rgb(132, 107, 187, 60%) | #846bbb99 | |
rgb(132, 107, 187, 80%) | #846bbbCC | |
rgb(132, 107, 187, 100%) | #846bbbFF |
Saturated and desaturated colors of #846bbb
HSL Code | Preview |
---|---|
hsl(259, 10%, 58%) | |
hsl(259, 20%, 58%) | |
hsl(259, 40%, 58%) | |
hsl(259, 60%, 58%) | |
hsl(259, 80%, 58%) | |
hsl(259, 100%, 58%) |
#846bbb Color Usage In CSS
body { color: #846bbb; } p { color: rgb(132, 107, 187); } header { border-bottom:1px solid #846bbb; }