#b10f9b Color
Color Codes | |
---|---|
Hex Code | #b10f9b |
RGB Code | rgb(177, 15, 155) |
HSL Code | hsl(308, 84%, 38%) |
#b10f9b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(177, 15, 155); }
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(308, 84%, 38%); }
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 #b10f9b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(177, 15, 155, 10%) | #b10f9b1a | |
rgb(177, 15, 155, 20%) | #b10f9b33 | |
rgb(177, 15, 155, 40%) | #b10f9b4C | |
rgb(177, 15, 155, 60%) | #b10f9b99 | |
rgb(177, 15, 155, 80%) | #b10f9bCC | |
rgb(177, 15, 155, 100%) | #b10f9bFF |
Saturated and desaturated colors of #b10f9b
HSL Code | Preview |
---|---|
hsl(308, 10%, 38%) | |
hsl(308, 20%, 38%) | |
hsl(308, 40%, 38%) | |
hsl(308, 60%, 38%) | |
hsl(308, 80%, 38%) | |
hsl(308, 100%, 38%) |
#b10f9b Color Usage In CSS
body { color: #b10f9b; } p { color: rgb(177, 15, 155); } header { border-bottom:1px solid #b10f9b; }