#bc66ef Color
Color Codes | |
---|---|
Hex Code | #bc66ef |
RGB Code | rgb(188, 102, 239) |
HSL Code | hsl(278, 81%, 67%) |
#bc66ef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(188, 102, 239); }
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(278, 81%, 67%); }
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 #bc66ef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(188, 102, 239, 10%) | #bc66ef1a | |
rgb(188, 102, 239, 20%) | #bc66ef33 | |
rgb(188, 102, 239, 40%) | #bc66ef4C | |
rgb(188, 102, 239, 60%) | #bc66ef99 | |
rgb(188, 102, 239, 80%) | #bc66efCC | |
rgb(188, 102, 239, 100%) | #bc66efFF |
Saturated and desaturated colors of #bc66ef
HSL Code | Preview |
---|---|
hsl(278, 10%, 67%) | |
hsl(278, 20%, 67%) | |
hsl(278, 40%, 67%) | |
hsl(278, 60%, 67%) | |
hsl(278, 80%, 67%) | |
hsl(278, 100%, 67%) |
#bc66ef Color Usage In CSS
body { color: #bc66ef; } p { color: rgb(188, 102, 239); } header { border-bottom:1px solid #bc66ef; }