#bf5399 Color
Color Codes | |
---|---|
Hex Code | #bf5399 |
RGB Code | rgb(191, 83, 153) |
HSL Code | hsl(321, 46%, 54%) |
#bf5399 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(191, 83, 153); }
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(321, 46%, 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 #bf5399
RGB Code | Hex Code | Preview |
---|---|---|
rgb(191, 83, 153, 10%) | #bf53991a | |
rgb(191, 83, 153, 20%) | #bf539933 | |
rgb(191, 83, 153, 40%) | #bf53994C | |
rgb(191, 83, 153, 60%) | #bf539999 | |
rgb(191, 83, 153, 80%) | #bf5399CC | |
rgb(191, 83, 153, 100%) | #bf5399FF |
Saturated and desaturated colors of #bf5399
HSL Code | Preview |
---|---|
hsl(321, 10%, 54%) | |
hsl(321, 20%, 54%) | |
hsl(321, 40%, 54%) | |
hsl(321, 60%, 54%) | |
hsl(321, 80%, 54%) | |
hsl(321, 100%, 54%) |
#bf5399 Color Usage In CSS
body { color: #bf5399; } p { color: rgb(191, 83, 153); } header { border-bottom:1px solid #bf5399; }