#bb557f Color
Color Codes | |
---|---|
Hex Code | #bb557f |
RGB Code | rgb(187, 85, 127) |
HSL Code | hsl(335, 43%, 53%) |
#bb557f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 85, 127); }
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(335, 43%, 53%); }
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 #bb557f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 85, 127, 10%) | #bb557f1a | |
rgb(187, 85, 127, 20%) | #bb557f33 | |
rgb(187, 85, 127, 40%) | #bb557f4C | |
rgb(187, 85, 127, 60%) | #bb557f99 | |
rgb(187, 85, 127, 80%) | #bb557fCC | |
rgb(187, 85, 127, 100%) | #bb557fFF |
Saturated and desaturated colors of #bb557f
HSL Code | Preview |
---|---|
hsl(335, 10%, 53%) | |
hsl(335, 20%, 53%) | |
hsl(335, 40%, 53%) | |
hsl(335, 60%, 53%) | |
hsl(335, 80%, 53%) | |
hsl(335, 100%, 53%) |
#bb557f Color Usage In CSS
body { color: #bb557f; } p { color: rgb(187, 85, 127); } header { border-bottom:1px solid #bb557f; }