#7d72d5 Color
Color Codes | |
---|---|
Hex Code | #7d72d5 |
RGB Code | rgb(125, 114, 213) |
HSL Code | hsl(247, 54%, 64%) |
#7d72d5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(125, 114, 213); }
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(247, 54%, 64%); }
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 #7d72d5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(125, 114, 213, 10%) | #7d72d51a | |
rgb(125, 114, 213, 20%) | #7d72d533 | |
rgb(125, 114, 213, 40%) | #7d72d54C | |
rgb(125, 114, 213, 60%) | #7d72d599 | |
rgb(125, 114, 213, 80%) | #7d72d5CC | |
rgb(125, 114, 213, 100%) | #7d72d5FF |
Saturated and desaturated colors of #7d72d5
HSL Code | Preview |
---|---|
hsl(247, 10%, 64%) | |
hsl(247, 20%, 64%) | |
hsl(247, 40%, 64%) | |
hsl(247, 60%, 64%) | |
hsl(247, 80%, 64%) | |
hsl(247, 100%, 64%) |
#7d72d5 Color Usage In CSS
body { color: #7d72d5; } p { color: rgb(125, 114, 213); } header { border-bottom:1px solid #7d72d5; }