#ba3890 Color
Color Codes | |
---|---|
Hex Code | #ba3890 |
RGB Code | rgb(186, 56, 144) |
HSL Code | hsl(319, 54%, 47%) |
#ba3890 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 56, 144); }
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(319, 54%, 47%); }
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 #ba3890
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 56, 144, 10%) | #ba38901a | |
rgb(186, 56, 144, 20%) | #ba389033 | |
rgb(186, 56, 144, 40%) | #ba38904C | |
rgb(186, 56, 144, 60%) | #ba389099 | |
rgb(186, 56, 144, 80%) | #ba3890CC | |
rgb(186, 56, 144, 100%) | #ba3890FF |
Saturated and desaturated colors of #ba3890
HSL Code | Preview |
---|---|
hsl(319, 10%, 47%) | |
hsl(319, 20%, 47%) | |
hsl(319, 40%, 47%) | |
hsl(319, 60%, 47%) | |
hsl(319, 80%, 47%) | |
hsl(319, 100%, 47%) |
#ba3890 Color Usage In CSS
body { color: #ba3890; } p { color: rgb(186, 56, 144); } header { border-bottom:1px solid #ba3890; }