#b07ef0 Color
Color Codes | |
---|---|
Hex Code | #b07ef0 |
RGB Code | rgb(176, 126, 240) |
HSL Code | hsl(266, 79%, 72%) |
#b07ef0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(176, 126, 240); }
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(266, 79%, 72%); }
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 #b07ef0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(176, 126, 240, 10%) | #b07ef01a | |
rgb(176, 126, 240, 20%) | #b07ef033 | |
rgb(176, 126, 240, 40%) | #b07ef04C | |
rgb(176, 126, 240, 60%) | #b07ef099 | |
rgb(176, 126, 240, 80%) | #b07ef0CC | |
rgb(176, 126, 240, 100%) | #b07ef0FF |
Saturated and desaturated colors of #b07ef0
HSL Code | Preview |
---|---|
hsl(266, 10%, 72%) | |
hsl(266, 20%, 72%) | |
hsl(266, 40%, 72%) | |
hsl(266, 60%, 72%) | |
hsl(266, 80%, 72%) | |
hsl(266, 100%, 72%) |
#b07ef0 Color Usage In CSS
body { color: #b07ef0; } p { color: rgb(176, 126, 240); } header { border-bottom:1px solid #b07ef0; }