#bf2789 Color
Color Codes | |
---|---|
Hex Code | #bf2789 |
RGB Code | rgb(191, 39, 137) |
HSL Code | hsl(321, 66%, 45%) |
#bf2789 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(191, 39, 137); }
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, 66%, 45%); }
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 #bf2789
RGB Code | Hex Code | Preview |
---|---|---|
rgb(191, 39, 137, 10%) | #bf27891a | |
rgb(191, 39, 137, 20%) | #bf278933 | |
rgb(191, 39, 137, 40%) | #bf27894C | |
rgb(191, 39, 137, 60%) | #bf278999 | |
rgb(191, 39, 137, 80%) | #bf2789CC | |
rgb(191, 39, 137, 100%) | #bf2789FF |
Saturated and desaturated colors of #bf2789
HSL Code | Preview |
---|---|
hsl(321, 10%, 45%) | |
hsl(321, 20%, 45%) | |
hsl(321, 40%, 45%) | |
hsl(321, 60%, 45%) | |
hsl(321, 80%, 45%) | |
hsl(321, 100%, 45%) |
#bf2789 Color Usage In CSS
body { color: #bf2789; } p { color: rgb(191, 39, 137); } header { border-bottom:1px solid #bf2789; }