#b989bf Color
Color Codes | |
---|---|
Hex Code | #b989bf |
RGB Code | rgb(185, 137, 191) |
HSL Code | hsl(293, 30%, 64%) |
#b989bf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 137, 191); }
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(293, 30%, 64%); }
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 #b989bf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 137, 191, 10%) | #b989bf1a | |
rgb(185, 137, 191, 20%) | #b989bf33 | |
rgb(185, 137, 191, 40%) | #b989bf4C | |
rgb(185, 137, 191, 60%) | #b989bf99 | |
rgb(185, 137, 191, 80%) | #b989bfCC | |
rgb(185, 137, 191, 100%) | #b989bfFF |
Saturated and desaturated colors of #b989bf
HSL Code | Preview |
---|---|
hsl(293, 10%, 64%) | |
hsl(293, 20%, 64%) | |
hsl(293, 40%, 64%) | |
hsl(293, 60%, 64%) | |
hsl(293, 80%, 64%) | |
hsl(293, 100%, 64%) |
#b989bf Color Usage In CSS
body { color: #b989bf; } p { color: rgb(185, 137, 191); } header { border-bottom:1px solid #b989bf; }