#bf59d5 Color
Color Codes | |
---|---|
Hex Code | #bf59d5 |
RGB Code | rgb(191, 89, 213) |
HSL Code | hsl(289, 60%, 59%) |
#bf59d5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(191, 89, 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(289, 60%, 59%); }
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 #bf59d5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(191, 89, 213, 10%) | #bf59d51a | |
rgb(191, 89, 213, 20%) | #bf59d533 | |
rgb(191, 89, 213, 40%) | #bf59d54C | |
rgb(191, 89, 213, 60%) | #bf59d599 | |
rgb(191, 89, 213, 80%) | #bf59d5CC | |
rgb(191, 89, 213, 100%) | #bf59d5FF |
Saturated and desaturated colors of #bf59d5
HSL Code | Preview |
---|---|
hsl(289, 10%, 59%) | |
hsl(289, 20%, 59%) | |
hsl(289, 40%, 59%) | |
hsl(289, 60%, 59%) | |
hsl(289, 80%, 59%) | |
hsl(289, 100%, 59%) |
#bf59d5 Color Usage In CSS
body { color: #bf59d5; } p { color: rgb(191, 89, 213); } header { border-bottom:1px solid #bf59d5; }