#d678eb Color
Color Codes | |
---|---|
Hex Code | #d678eb |
RGB Code | rgb(214, 120, 235) |
HSL Code | hsl(289, 74%, 70%) |
#d678eb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(214, 120, 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(289, 74%, 70%); }
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 #d678eb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(214, 120, 235, 10%) | #d678eb1a | |
rgb(214, 120, 235, 20%) | #d678eb33 | |
rgb(214, 120, 235, 40%) | #d678eb4C | |
rgb(214, 120, 235, 60%) | #d678eb99 | |
rgb(214, 120, 235, 80%) | #d678ebCC | |
rgb(214, 120, 235, 100%) | #d678ebFF |
Saturated and desaturated colors of #d678eb
HSL Code | Preview |
---|---|
hsl(289, 10%, 70%) | |
hsl(289, 20%, 70%) | |
hsl(289, 40%, 70%) | |
hsl(289, 60%, 70%) | |
hsl(289, 80%, 70%) | |
hsl(289, 100%, 70%) |
#d678eb Color Usage In CSS
body { color: #d678eb; } p { color: rgb(214, 120, 235); } header { border-bottom:1px solid #d678eb; }