#d58ef4 Color
Color Codes | |
---|---|
Hex Code | #d58ef4 |
RGB Code | rgb(213, 142, 244) |
HSL Code | hsl(282, 82%, 76%) |
#d58ef4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(213, 142, 244); }
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(282, 82%, 76%); }
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 #d58ef4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(213, 142, 244, 10%) | #d58ef41a | |
rgb(213, 142, 244, 20%) | #d58ef433 | |
rgb(213, 142, 244, 40%) | #d58ef44C | |
rgb(213, 142, 244, 60%) | #d58ef499 | |
rgb(213, 142, 244, 80%) | #d58ef4CC | |
rgb(213, 142, 244, 100%) | #d58ef4FF |
Saturated and desaturated colors of #d58ef4
HSL Code | Preview |
---|---|
hsl(282, 10%, 76%) | |
hsl(282, 20%, 76%) | |
hsl(282, 40%, 76%) | |
hsl(282, 60%, 76%) | |
hsl(282, 80%, 76%) | |
hsl(282, 100%, 76%) |
#d58ef4 Color Usage In CSS
body { color: #d58ef4; } p { color: rgb(213, 142, 244); } header { border-bottom:1px solid #d58ef4; }