#d689ef Color
Color Codes | |
---|---|
Hex Code | #d689ef |
RGB Code | rgb(214, 137, 239) |
HSL Code | hsl(285, 76%, 74%) |
#d689ef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(214, 137, 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(285, 76%, 74%); }
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 #d689ef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(214, 137, 239, 10%) | #d689ef1a | |
rgb(214, 137, 239, 20%) | #d689ef33 | |
rgb(214, 137, 239, 40%) | #d689ef4C | |
rgb(214, 137, 239, 60%) | #d689ef99 | |
rgb(214, 137, 239, 80%) | #d689efCC | |
rgb(214, 137, 239, 100%) | #d689efFF |
Saturated and desaturated colors of #d689ef
HSL Code | Preview |
---|---|
hsl(285, 10%, 74%) | |
hsl(285, 20%, 74%) | |
hsl(285, 40%, 74%) | |
hsl(285, 60%, 74%) | |
hsl(285, 80%, 74%) | |
hsl(285, 100%, 74%) |
#d689ef Color Usage In CSS
body { color: #d689ef; } p { color: rgb(214, 137, 239); } header { border-bottom:1px solid #d689ef; }