#896fba Color
Color Codes | |
---|---|
Hex Code | #896fba |
RGB Code | rgb(137, 111, 186) |
HSL Code | hsl(261, 35%, 58%) |
#896fba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(137, 111, 186); }
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(261, 35%, 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 #896fba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(137, 111, 186, 10%) | #896fba1a | |
rgb(137, 111, 186, 20%) | #896fba33 | |
rgb(137, 111, 186, 40%) | #896fba4C | |
rgb(137, 111, 186, 60%) | #896fba99 | |
rgb(137, 111, 186, 80%) | #896fbaCC | |
rgb(137, 111, 186, 100%) | #896fbaFF |
Saturated and desaturated colors of #896fba
HSL Code | Preview |
---|---|
hsl(261, 10%, 58%) | |
hsl(261, 20%, 58%) | |
hsl(261, 40%, 58%) | |
hsl(261, 60%, 58%) | |
hsl(261, 80%, 58%) | |
hsl(261, 100%, 58%) |
#896fba Color Usage In CSS
body { color: #896fba; } p { color: rgb(137, 111, 186); } header { border-bottom:1px solid #896fba; }