#bc37dd Color
Color Codes | |
---|---|
Hex Code | #bc37dd |
RGB Code | rgb(188, 55, 221) |
HSL Code | hsl(288, 71%, 54%) |
#bc37dd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(188, 55, 221); }
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(288, 71%, 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 #bc37dd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(188, 55, 221, 10%) | #bc37dd1a | |
rgb(188, 55, 221, 20%) | #bc37dd33 | |
rgb(188, 55, 221, 40%) | #bc37dd4C | |
rgb(188, 55, 221, 60%) | #bc37dd99 | |
rgb(188, 55, 221, 80%) | #bc37ddCC | |
rgb(188, 55, 221, 100%) | #bc37ddFF |
Saturated and desaturated colors of #bc37dd
HSL Code | Preview |
---|---|
hsl(288, 10%, 54%) | |
hsl(288, 20%, 54%) | |
hsl(288, 40%, 54%) | |
hsl(288, 60%, 54%) | |
hsl(288, 80%, 54%) | |
hsl(288, 100%, 54%) |
#bc37dd Color Usage In CSS
body { color: #bc37dd; } p { color: rgb(188, 55, 221); } header { border-bottom:1px solid #bc37dd; }