#bd42eb Color
Color Codes | |
---|---|
Hex Code | #bd42eb |
RGB Code | rgb(189, 66, 235) |
HSL Code | hsl(284, 81%, 59%) |
#bd42eb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(189, 66, 235); }
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(284, 81%, 59%); }
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 #bd42eb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(189, 66, 235, 10%) | #bd42eb1a | |
rgb(189, 66, 235, 20%) | #bd42eb33 | |
rgb(189, 66, 235, 40%) | #bd42eb4C | |
rgb(189, 66, 235, 60%) | #bd42eb99 | |
rgb(189, 66, 235, 80%) | #bd42ebCC | |
rgb(189, 66, 235, 100%) | #bd42ebFF |
Saturated and desaturated colors of #bd42eb
HSL Code | Preview |
---|---|
hsl(284, 10%, 59%) | |
hsl(284, 20%, 59%) | |
hsl(284, 40%, 59%) | |
hsl(284, 60%, 59%) | |
hsl(284, 80%, 59%) | |
hsl(284, 100%, 59%) |
#bd42eb Color Usage In CSS
body { color: #bd42eb; } p { color: rgb(189, 66, 235); } header { border-bottom:1px solid #bd42eb; }