#b65bd8 Color
Color Codes | |
---|---|
Hex Code | #b65bd8 |
RGB Code | rgb(182, 91, 216) |
HSL Code | hsl(284, 62%, 60%) |
#b65bd8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(182, 91, 216); }
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(284, 62%, 60%); }
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 #b65bd8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(182, 91, 216, 10%) | #b65bd81a | |
rgb(182, 91, 216, 20%) | #b65bd833 | |
rgb(182, 91, 216, 40%) | #b65bd84C | |
rgb(182, 91, 216, 60%) | #b65bd899 | |
rgb(182, 91, 216, 80%) | #b65bd8CC | |
rgb(182, 91, 216, 100%) | #b65bd8FF |
Saturated and desaturated colors of #b65bd8
HSL Code | Preview |
---|---|
hsl(284, 10%, 60%) | |
hsl(284, 20%, 60%) | |
hsl(284, 40%, 60%) | |
hsl(284, 60%, 60%) | |
hsl(284, 80%, 60%) | |
hsl(284, 100%, 60%) |
#b65bd8 Color Usage In CSS
body { color: #b65bd8; } p { color: rgb(182, 91, 216); } header { border-bottom:1px solid #b65bd8; }