#bf5057 Color
Color Codes | |
---|---|
Hex Code | #bf5057 |
RGB Code | rgb(191, 80, 87) |
HSL Code | hsl(356, 46%, 53%) |
#bf5057 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(191, 80, 87); }
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(356, 46%, 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 #bf5057
RGB Code | Hex Code | Preview |
---|---|---|
rgb(191, 80, 87, 10%) | #bf50571a | |
rgb(191, 80, 87, 20%) | #bf505733 | |
rgb(191, 80, 87, 40%) | #bf50574C | |
rgb(191, 80, 87, 60%) | #bf505799 | |
rgb(191, 80, 87, 80%) | #bf5057CC | |
rgb(191, 80, 87, 100%) | #bf5057FF |
Saturated and desaturated colors of #bf5057
HSL Code | Preview |
---|---|
hsl(356, 10%, 53%) | |
hsl(356, 20%, 53%) | |
hsl(356, 40%, 53%) | |
hsl(356, 60%, 53%) | |
hsl(356, 80%, 53%) | |
hsl(356, 100%, 53%) |
#bf5057 Color Usage In CSS
body { color: #bf5057; } p { color: rgb(191, 80, 87); } header { border-bottom:1px solid #bf5057; }