#bb6fb8 Color
Color Codes | |
---|---|
Hex Code | #bb6fb8 |
RGB Code | rgb(187, 111, 184) |
HSL Code | hsl(302, 36%, 58%) |
#bb6fb8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 111, 184); }
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(302, 36%, 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 #bb6fb8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 111, 184, 10%) | #bb6fb81a | |
rgb(187, 111, 184, 20%) | #bb6fb833 | |
rgb(187, 111, 184, 40%) | #bb6fb84C | |
rgb(187, 111, 184, 60%) | #bb6fb899 | |
rgb(187, 111, 184, 80%) | #bb6fb8CC | |
rgb(187, 111, 184, 100%) | #bb6fb8FF |
Saturated and desaturated colors of #bb6fb8
HSL Code | Preview |
---|---|
hsl(302, 10%, 58%) | |
hsl(302, 20%, 58%) | |
hsl(302, 40%, 58%) | |
hsl(302, 60%, 58%) | |
hsl(302, 80%, 58%) | |
hsl(302, 100%, 58%) |
#bb6fb8 Color Usage In CSS
body { color: #bb6fb8; } p { color: rgb(187, 111, 184); } header { border-bottom:1px solid #bb6fb8; }