#7d23db Color
Color Codes | |
---|---|
Hex Code | #7d23db |
RGB Code | rgb(125, 35, 219) |
HSL Code | hsl(269, 72%, 50%) |
#7d23db Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(125, 35, 219); }
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(269, 72%, 50%); }
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 #7d23db
RGB Code | Hex Code | Preview |
---|---|---|
rgb(125, 35, 219, 10%) | #7d23db1a | |
rgb(125, 35, 219, 20%) | #7d23db33 | |
rgb(125, 35, 219, 40%) | #7d23db4C | |
rgb(125, 35, 219, 60%) | #7d23db99 | |
rgb(125, 35, 219, 80%) | #7d23dbCC | |
rgb(125, 35, 219, 100%) | #7d23dbFF |
Saturated and desaturated colors of #7d23db
HSL Code | Preview |
---|---|
hsl(269, 10%, 50%) | |
hsl(269, 20%, 50%) | |
hsl(269, 40%, 50%) | |
hsl(269, 60%, 50%) | |
hsl(269, 80%, 50%) | |
hsl(269, 100%, 50%) |
#7d23db Color Usage In CSS
body { color: #7d23db; } p { color: rgb(125, 35, 219); } header { border-bottom:1px solid #7d23db; }