#b817ad Color
Color Codes | |
---|---|
Hex Code | #b817ad |
RGB Code | rgb(184, 23, 173) |
HSL Code | hsl(304, 78%, 41%) |
#b817ad Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 23, 173); }
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, 78%, 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 #b817ad
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 23, 173, 10%) | #b817ad1a | |
rgb(184, 23, 173, 20%) | #b817ad33 | |
rgb(184, 23, 173, 40%) | #b817ad4C | |
rgb(184, 23, 173, 60%) | #b817ad99 | |
rgb(184, 23, 173, 80%) | #b817adCC | |
rgb(184, 23, 173, 100%) | #b817adFF |
Saturated and desaturated colors of #b817ad
HSL Code | Preview |
---|---|
hsl(304, 10%, 41%) | |
hsl(304, 20%, 41%) | |
hsl(304, 40%, 41%) | |
hsl(304, 60%, 41%) | |
hsl(304, 80%, 41%) | |
hsl(304, 100%, 41%) |
#b817ad Color Usage In CSS
body { color: #b817ad; } p { color: rgb(184, 23, 173); } header { border-bottom:1px solid #b817ad; }