#b31dbf Color
Color Codes | |
---|---|
Hex Code | #b31dbf |
RGB Code | rgb(179, 29, 191) |
HSL Code | hsl(296, 74%, 43%) |
#b31dbf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(179, 29, 191); }
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(296, 74%, 43%); }
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 #b31dbf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(179, 29, 191, 10%) | #b31dbf1a | |
rgb(179, 29, 191, 20%) | #b31dbf33 | |
rgb(179, 29, 191, 40%) | #b31dbf4C | |
rgb(179, 29, 191, 60%) | #b31dbf99 | |
rgb(179, 29, 191, 80%) | #b31dbfCC | |
rgb(179, 29, 191, 100%) | #b31dbfFF |
Saturated and desaturated colors of #b31dbf
HSL Code | Preview |
---|---|
hsl(296, 10%, 43%) | |
hsl(296, 20%, 43%) | |
hsl(296, 40%, 43%) | |
hsl(296, 60%, 43%) | |
hsl(296, 80%, 43%) | |
hsl(296, 100%, 43%) |
#b31dbf Color Usage In CSS
body { color: #b31dbf; } p { color: rgb(179, 29, 191); } header { border-bottom:1px solid #b31dbf; }