#b561d5 Color
Color Codes | |
---|---|
Hex Code | #b561d5 |
RGB Code | rgb(181, 97, 213) |
HSL Code | hsl(283, 58%, 61%) |
#b561d5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(181, 97, 213); }
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(283, 58%, 61%); }
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 #b561d5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(181, 97, 213, 10%) | #b561d51a | |
rgb(181, 97, 213, 20%) | #b561d533 | |
rgb(181, 97, 213, 40%) | #b561d54C | |
rgb(181, 97, 213, 60%) | #b561d599 | |
rgb(181, 97, 213, 80%) | #b561d5CC | |
rgb(181, 97, 213, 100%) | #b561d5FF |
Saturated and desaturated colors of #b561d5
HSL Code | Preview |
---|---|
hsl(283, 10%, 61%) | |
hsl(283, 20%, 61%) | |
hsl(283, 40%, 61%) | |
hsl(283, 60%, 61%) | |
hsl(283, 80%, 61%) | |
hsl(283, 100%, 61%) |
#b561d5 Color Usage In CSS
body { color: #b561d5; } p { color: rgb(181, 97, 213); } header { border-bottom:1px solid #b561d5; }