#d626eb Color
Color Codes | |
---|---|
Hex Code | #d626eb |
RGB Code | rgb(214, 38, 235) |
HSL Code | hsl(294, 83%, 54%) |
#d626eb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(214, 38, 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(294, 83%, 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 #d626eb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(214, 38, 235, 10%) | #d626eb1a | |
rgb(214, 38, 235, 20%) | #d626eb33 | |
rgb(214, 38, 235, 40%) | #d626eb4C | |
rgb(214, 38, 235, 60%) | #d626eb99 | |
rgb(214, 38, 235, 80%) | #d626ebCC | |
rgb(214, 38, 235, 100%) | #d626ebFF |
Saturated and desaturated colors of #d626eb
HSL Code | Preview |
---|---|
hsl(294, 10%, 54%) | |
hsl(294, 20%, 54%) | |
hsl(294, 40%, 54%) | |
hsl(294, 60%, 54%) | |
hsl(294, 80%, 54%) | |
hsl(294, 100%, 54%) |
#d626eb Color Usage In CSS
body { color: #d626eb; } p { color: rgb(214, 38, 235); } header { border-bottom:1px solid #d626eb; }