#b71db6 Color
Color Codes | |
---|---|
Hex Code | #b71db6 |
RGB Code | rgb(183, 29, 182) |
HSL Code | hsl(300, 73%, 42%) |
#b71db6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 29, 182); }
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(300, 73%, 42%); }
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 #b71db6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 29, 182, 10%) | #b71db61a | |
rgb(183, 29, 182, 20%) | #b71db633 | |
rgb(183, 29, 182, 40%) | #b71db64C | |
rgb(183, 29, 182, 60%) | #b71db699 | |
rgb(183, 29, 182, 80%) | #b71db6CC | |
rgb(183, 29, 182, 100%) | #b71db6FF |
Saturated and desaturated colors of #b71db6
HSL Code | Preview |
---|---|
hsl(300, 10%, 42%) | |
hsl(300, 20%, 42%) | |
hsl(300, 40%, 42%) | |
hsl(300, 60%, 42%) | |
hsl(300, 80%, 42%) | |
hsl(300, 100%, 42%) |
#b71db6 Color Usage In CSS
body { color: #b71db6; } p { color: rgb(183, 29, 182); } header { border-bottom:1px solid #b71db6; }