#bf5572 Color
Color Codes | |
---|---|
Hex Code | #bf5572 |
RGB Code | rgb(191, 85, 114) |
HSL Code | hsl(344, 45%, 54%) |
#bf5572 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(191, 85, 114); }
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(344, 45%, 54%); }
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 #bf5572
RGB Code | Hex Code | Preview |
---|---|---|
rgb(191, 85, 114, 10%) | #bf55721a | |
rgb(191, 85, 114, 20%) | #bf557233 | |
rgb(191, 85, 114, 40%) | #bf55724C | |
rgb(191, 85, 114, 60%) | #bf557299 | |
rgb(191, 85, 114, 80%) | #bf5572CC | |
rgb(191, 85, 114, 100%) | #bf5572FF |
Saturated and desaturated colors of #bf5572
HSL Code | Preview |
---|---|
hsl(344, 10%, 54%) | |
hsl(344, 20%, 54%) | |
hsl(344, 40%, 54%) | |
hsl(344, 60%, 54%) | |
hsl(344, 80%, 54%) | |
hsl(344, 100%, 54%) |
#bf5572 Color Usage In CSS
body { color: #bf5572; } p { color: rgb(191, 85, 114); } header { border-bottom:1px solid #bf5572; }