#b807ef Color
Color Codes | |
---|---|
Hex Code | #b807ef |
RGB Code | rgb(184, 07, 239) |
HSL Code | hsl(286, 94%, 48%) |
#b807ef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 07, 239); }
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(286, 94%, 48%); }
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 #b807ef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 07, 239, 10%) | #b807ef1a | |
rgb(184, 07, 239, 20%) | #b807ef33 | |
rgb(184, 07, 239, 40%) | #b807ef4C | |
rgb(184, 07, 239, 60%) | #b807ef99 | |
rgb(184, 07, 239, 80%) | #b807efCC | |
rgb(184, 07, 239, 100%) | #b807efFF |
Saturated and desaturated colors of #b807ef
HSL Code | Preview |
---|---|
hsl(286, 10%, 48%) | |
hsl(286, 20%, 48%) | |
hsl(286, 40%, 48%) | |
hsl(286, 60%, 48%) | |
hsl(286, 80%, 48%) | |
hsl(286, 100%, 48%) |
#b807ef Color Usage In CSS
body { color: #b807ef; } p { color: rgb(184, 07, 239); } header { border-bottom:1px solid #b807ef; }