#b28de9 Color
Color Codes | |
---|---|
Hex Code | #b28de9 |
RGB Code | rgb(178, 141, 233) |
HSL Code | hsl(264, 68%, 73%) |
#b28de9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 141, 233); }
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(264, 68%, 73%); }
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 #b28de9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 141, 233, 10%) | #b28de91a | |
rgb(178, 141, 233, 20%) | #b28de933 | |
rgb(178, 141, 233, 40%) | #b28de94C | |
rgb(178, 141, 233, 60%) | #b28de999 | |
rgb(178, 141, 233, 80%) | #b28de9CC | |
rgb(178, 141, 233, 100%) | #b28de9FF |
Saturated and desaturated colors of #b28de9
HSL Code | Preview |
---|---|
hsl(264, 10%, 73%) | |
hsl(264, 20%, 73%) | |
hsl(264, 40%, 73%) | |
hsl(264, 60%, 73%) | |
hsl(264, 80%, 73%) | |
hsl(264, 100%, 73%) |
#b28de9 Color Usage In CSS
body { color: #b28de9; } p { color: rgb(178, 141, 233); } header { border-bottom:1px solid #b28de9; }