#b71ef6 Color
Color Codes | |
---|---|
Hex Code | #b71ef6 |
RGB Code | rgb(183, 30, 246) |
HSL Code | hsl(283, 92%, 54%) |
#b71ef6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 30, 246); }
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, 92%, 54%); }
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 #b71ef6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 30, 246, 10%) | #b71ef61a | |
rgb(183, 30, 246, 20%) | #b71ef633 | |
rgb(183, 30, 246, 40%) | #b71ef64C | |
rgb(183, 30, 246, 60%) | #b71ef699 | |
rgb(183, 30, 246, 80%) | #b71ef6CC | |
rgb(183, 30, 246, 100%) | #b71ef6FF |
Saturated and desaturated colors of #b71ef6
HSL Code | Preview |
---|---|
hsl(283, 10%, 54%) | |
hsl(283, 20%, 54%) | |
hsl(283, 40%, 54%) | |
hsl(283, 60%, 54%) | |
hsl(283, 80%, 54%) | |
hsl(283, 100%, 54%) |
#b71ef6 Color Usage In CSS
body { color: #b71ef6; } p { color: rgb(183, 30, 246); } header { border-bottom:1px solid #b71ef6; }