#d83df5 Color
Color Codes | |
---|---|
Hex Code | #d83df5 |
RGB Code | rgb(216, 61, 245) |
HSL Code | hsl(291, 90%, 60%) |
#d83df5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 61, 245); }
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(291, 90%, 60%); }
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 #d83df5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 61, 245, 10%) | #d83df51a | |
rgb(216, 61, 245, 20%) | #d83df533 | |
rgb(216, 61, 245, 40%) | #d83df54C | |
rgb(216, 61, 245, 60%) | #d83df599 | |
rgb(216, 61, 245, 80%) | #d83df5CC | |
rgb(216, 61, 245, 100%) | #d83df5FF |
Saturated and desaturated colors of #d83df5
HSL Code | Preview |
---|---|
hsl(291, 10%, 60%) | |
hsl(291, 20%, 60%) | |
hsl(291, 40%, 60%) | |
hsl(291, 60%, 60%) | |
hsl(291, 80%, 60%) | |
hsl(291, 100%, 60%) |
#d83df5 Color Usage In CSS
body { color: #d83df5; } p { color: rgb(216, 61, 245); } header { border-bottom:1px solid #d83df5; }