#bc2a86 Color
Color Codes | |
---|---|
Hex Code | #bc2a86 |
RGB Code | rgb(188, 42, 134) |
HSL Code | hsl(322, 63%, 45%) |
#bc2a86 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(188, 42, 134); }
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(322, 63%, 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 #bc2a86
RGB Code | Hex Code | Preview |
---|---|---|
rgb(188, 42, 134, 10%) | #bc2a861a | |
rgb(188, 42, 134, 20%) | #bc2a8633 | |
rgb(188, 42, 134, 40%) | #bc2a864C | |
rgb(188, 42, 134, 60%) | #bc2a8699 | |
rgb(188, 42, 134, 80%) | #bc2a86CC | |
rgb(188, 42, 134, 100%) | #bc2a86FF |
Saturated and desaturated colors of #bc2a86
HSL Code | Preview |
---|---|
hsl(322, 10%, 45%) | |
hsl(322, 20%, 45%) | |
hsl(322, 40%, 45%) | |
hsl(322, 60%, 45%) | |
hsl(322, 80%, 45%) | |
hsl(322, 100%, 45%) |
#bc2a86 Color Usage In CSS
body { color: #bc2a86; } p { color: rgb(188, 42, 134); } header { border-bottom:1px solid #bc2a86; }