#de70e6 Color
Color Codes | |
---|---|
Hex Code | #de70e6 |
RGB Code | rgb(222, 112, 230) |
HSL Code | hsl(296, 70%, 67%) |
#de70e6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(222, 112, 230); }
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(296, 70%, 67%); }
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 #de70e6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(222, 112, 230, 10%) | #de70e61a | |
rgb(222, 112, 230, 20%) | #de70e633 | |
rgb(222, 112, 230, 40%) | #de70e64C | |
rgb(222, 112, 230, 60%) | #de70e699 | |
rgb(222, 112, 230, 80%) | #de70e6CC | |
rgb(222, 112, 230, 100%) | #de70e6FF |
Saturated and desaturated colors of #de70e6
HSL Code | Preview |
---|---|
hsl(296, 10%, 67%) | |
hsl(296, 20%, 67%) | |
hsl(296, 40%, 67%) | |
hsl(296, 60%, 67%) | |
hsl(296, 80%, 67%) | |
hsl(296, 100%, 67%) |
#de70e6 Color Usage In CSS
body { color: #de70e6; } p { color: rgb(222, 112, 230); } header { border-bottom:1px solid #de70e6; }