#b816ac Color
Color Codes | |
---|---|
Hex Code | #b816ac |
RGB Code | rgb(184, 22, 172) |
HSL Code | hsl(304, 79%, 40%) |
#b816ac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 22, 172); }
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(304, 79%, 40%); }
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 #b816ac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 22, 172, 10%) | #b816ac1a | |
rgb(184, 22, 172, 20%) | #b816ac33 | |
rgb(184, 22, 172, 40%) | #b816ac4C | |
rgb(184, 22, 172, 60%) | #b816ac99 | |
rgb(184, 22, 172, 80%) | #b816acCC | |
rgb(184, 22, 172, 100%) | #b816acFF |
Saturated and desaturated colors of #b816ac
HSL Code | Preview |
---|---|
hsl(304, 10%, 40%) | |
hsl(304, 20%, 40%) | |
hsl(304, 40%, 40%) | |
hsl(304, 60%, 40%) | |
hsl(304, 80%, 40%) | |
hsl(304, 100%, 40%) |
#b816ac Color Usage In CSS
body { color: #b816ac; } p { color: rgb(184, 22, 172); } header { border-bottom:1px solid #b816ac; }