#895fb4 Color
Color Codes | |
---|---|
Hex Code | #895fb4 |
RGB Code | rgb(137, 95, 180) |
HSL Code | hsl(270, 36%, 54%) |
#895fb4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(137, 95, 180); }
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(270, 36%, 54%); }
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 #895fb4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(137, 95, 180, 10%) | #895fb41a | |
rgb(137, 95, 180, 20%) | #895fb433 | |
rgb(137, 95, 180, 40%) | #895fb44C | |
rgb(137, 95, 180, 60%) | #895fb499 | |
rgb(137, 95, 180, 80%) | #895fb4CC | |
rgb(137, 95, 180, 100%) | #895fb4FF |
Saturated and desaturated colors of #895fb4
HSL Code | Preview |
---|---|
hsl(270, 10%, 54%) | |
hsl(270, 20%, 54%) | |
hsl(270, 40%, 54%) | |
hsl(270, 60%, 54%) | |
hsl(270, 80%, 54%) | |
hsl(270, 100%, 54%) |
#895fb4 Color Usage In CSS
body { color: #895fb4; } p { color: rgb(137, 95, 180); } header { border-bottom:1px solid #895fb4; }