#df7def Color
Color Codes | |
---|---|
Hex Code | #df7def |
RGB Code | rgb(223, 125, 239) |
HSL Code | hsl(292, 78%, 71%) |
#df7def Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(223, 125, 239); }
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(292, 78%, 71%); }
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 #df7def
RGB Code | Hex Code | Preview |
---|---|---|
rgb(223, 125, 239, 10%) | #df7def1a | |
rgb(223, 125, 239, 20%) | #df7def33 | |
rgb(223, 125, 239, 40%) | #df7def4C | |
rgb(223, 125, 239, 60%) | #df7def99 | |
rgb(223, 125, 239, 80%) | #df7defCC | |
rgb(223, 125, 239, 100%) | #df7defFF |
Saturated and desaturated colors of #df7def
HSL Code | Preview |
---|---|
hsl(292, 10%, 71%) | |
hsl(292, 20%, 71%) | |
hsl(292, 40%, 71%) | |
hsl(292, 60%, 71%) | |
hsl(292, 80%, 71%) | |
hsl(292, 100%, 71%) |
#df7def Color Usage In CSS
body { color: #df7def; } p { color: rgb(223, 125, 239); } header { border-bottom:1px solid #df7def; }