#bc27ac Color
Color Codes | |
---|---|
Hex Code | #bc27ac |
RGB Code | rgb(188, 39, 172) |
HSL Code | hsl(306, 66%, 45%) |
#bc27ac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(188, 39, 172); }
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(306, 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 #bc27ac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(188, 39, 172, 10%) | #bc27ac1a | |
rgb(188, 39, 172, 20%) | #bc27ac33 | |
rgb(188, 39, 172, 40%) | #bc27ac4C | |
rgb(188, 39, 172, 60%) | #bc27ac99 | |
rgb(188, 39, 172, 80%) | #bc27acCC | |
rgb(188, 39, 172, 100%) | #bc27acFF |
Saturated and desaturated colors of #bc27ac
HSL Code | Preview |
---|---|
hsl(306, 10%, 45%) | |
hsl(306, 20%, 45%) | |
hsl(306, 40%, 45%) | |
hsl(306, 60%, 45%) | |
hsl(306, 80%, 45%) | |
hsl(306, 100%, 45%) |
#bc27ac Color Usage In CSS
body { color: #bc27ac; } p { color: rgb(188, 39, 172); } header { border-bottom:1px solid #bc27ac; }