#b770b5 Color
Color Codes | |
---|---|
Hex Code | #b770b5 |
RGB Code | rgb(183, 112, 181) |
HSL Code | hsl(302, 33%, 58%) |
#b770b5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 112, 181); }
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(302, 33%, 58%); }
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 #b770b5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 112, 181, 10%) | #b770b51a | |
rgb(183, 112, 181, 20%) | #b770b533 | |
rgb(183, 112, 181, 40%) | #b770b54C | |
rgb(183, 112, 181, 60%) | #b770b599 | |
rgb(183, 112, 181, 80%) | #b770b5CC | |
rgb(183, 112, 181, 100%) | #b770b5FF |
Saturated and desaturated colors of #b770b5
HSL Code | Preview |
---|---|
hsl(302, 10%, 58%) | |
hsl(302, 20%, 58%) | |
hsl(302, 40%, 58%) | |
hsl(302, 60%, 58%) | |
hsl(302, 80%, 58%) | |
hsl(302, 100%, 58%) |
#b770b5 Color Usage In CSS
body { color: #b770b5; } p { color: rgb(183, 112, 181); } header { border-bottom:1px solid #b770b5; }