#b342ba Color
Color Codes | |
---|---|
Hex Code | #b342ba |
RGB Code | rgb(179, 66, 186) |
HSL Code | hsl(297, 48%, 49%) |
#b342ba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(179, 66, 186); }
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(297, 48%, 49%); }
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 #b342ba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(179, 66, 186, 10%) | #b342ba1a | |
rgb(179, 66, 186, 20%) | #b342ba33 | |
rgb(179, 66, 186, 40%) | #b342ba4C | |
rgb(179, 66, 186, 60%) | #b342ba99 | |
rgb(179, 66, 186, 80%) | #b342baCC | |
rgb(179, 66, 186, 100%) | #b342baFF |
Saturated and desaturated colors of #b342ba
HSL Code | Preview |
---|---|
hsl(297, 10%, 49%) | |
hsl(297, 20%, 49%) | |
hsl(297, 40%, 49%) | |
hsl(297, 60%, 49%) | |
hsl(297, 80%, 49%) | |
hsl(297, 100%, 49%) |
#b342ba Color Usage In CSS
body { color: #b342ba; } p { color: rgb(179, 66, 186); } header { border-bottom:1px solid #b342ba; }