#b81973 Color
Color Codes | |
---|---|
Hex Code | #b81973 |
RGB Code | rgb(184, 25, 115) |
HSL Code | hsl(326, 76%, 41%) |
#b81973 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 25, 115); }
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(326, 76%, 41%); }
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 #b81973
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 25, 115, 10%) | #b819731a | |
rgb(184, 25, 115, 20%) | #b8197333 | |
rgb(184, 25, 115, 40%) | #b819734C | |
rgb(184, 25, 115, 60%) | #b8197399 | |
rgb(184, 25, 115, 80%) | #b81973CC | |
rgb(184, 25, 115, 100%) | #b81973FF |
Saturated and desaturated colors of #b81973
HSL Code | Preview |
---|---|
hsl(326, 10%, 41%) | |
hsl(326, 20%, 41%) | |
hsl(326, 40%, 41%) | |
hsl(326, 60%, 41%) | |
hsl(326, 80%, 41%) | |
hsl(326, 100%, 41%) |
#b81973 Color Usage In CSS
body { color: #b81973; } p { color: rgb(184, 25, 115); } header { border-bottom:1px solid #b81973; }