#b671af Color
Color Codes | |
---|---|
Hex Code | #b671af |
RGB Code | rgb(182, 113, 175) |
HSL Code | hsl(306, 32%, 58%) |
#b671af Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(182, 113, 175); }
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(306, 32%, 58%); }
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 #b671af
RGB Code | Hex Code | Preview |
---|---|---|
rgb(182, 113, 175, 10%) | #b671af1a | |
rgb(182, 113, 175, 20%) | #b671af33 | |
rgb(182, 113, 175, 40%) | #b671af4C | |
rgb(182, 113, 175, 60%) | #b671af99 | |
rgb(182, 113, 175, 80%) | #b671afCC | |
rgb(182, 113, 175, 100%) | #b671afFF |
Saturated and desaturated colors of #b671af
HSL Code | Preview |
---|---|
hsl(306, 10%, 58%) | |
hsl(306, 20%, 58%) | |
hsl(306, 40%, 58%) | |
hsl(306, 60%, 58%) | |
hsl(306, 80%, 58%) | |
hsl(306, 100%, 58%) |
#b671af Color Usage In CSS
body { color: #b671af; } p { color: rgb(182, 113, 175); } header { border-bottom:1px solid #b671af; }