#d058e5 Color
Color Codes | |
---|---|
Hex Code | #d058e5 |
RGB Code | rgb(208, 88, 229) |
HSL Code | hsl(291, 73%, 62%) |
#d058e5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(208, 88, 229); }
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, 73%, 62%); }
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 #d058e5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(208, 88, 229, 10%) | #d058e51a | |
rgb(208, 88, 229, 20%) | #d058e533 | |
rgb(208, 88, 229, 40%) | #d058e54C | |
rgb(208, 88, 229, 60%) | #d058e599 | |
rgb(208, 88, 229, 80%) | #d058e5CC | |
rgb(208, 88, 229, 100%) | #d058e5FF |
Saturated and desaturated colors of #d058e5
HSL Code | Preview |
---|---|
hsl(291, 10%, 62%) | |
hsl(291, 20%, 62%) | |
hsl(291, 40%, 62%) | |
hsl(291, 60%, 62%) | |
hsl(291, 80%, 62%) | |
hsl(291, 100%, 62%) |
#d058e5 Color Usage In CSS
body { color: #d058e5; } p { color: rgb(208, 88, 229); } header { border-bottom:1px solid #d058e5; }