#dc7394 Color
Color Codes | |
---|---|
Hex Code | #dc7394 |
RGB Code | rgb(220, 115, 148) |
HSL Code | hsl(341, 60%, 66%) |
#dc7394 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 115, 148); }
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(341, 60%, 66%); }
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 #dc7394
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 115, 148, 10%) | #dc73941a | |
rgb(220, 115, 148, 20%) | #dc739433 | |
rgb(220, 115, 148, 40%) | #dc73944C | |
rgb(220, 115, 148, 60%) | #dc739499 | |
rgb(220, 115, 148, 80%) | #dc7394CC | |
rgb(220, 115, 148, 100%) | #dc7394FF |
Saturated and desaturated colors of #dc7394
HSL Code | Preview |
---|---|
hsl(341, 10%, 66%) | |
hsl(341, 20%, 66%) | |
hsl(341, 40%, 66%) | |
hsl(341, 60%, 66%) | |
hsl(341, 80%, 66%) | |
hsl(341, 100%, 66%) |
#dc7394 Color Usage In CSS
body { color: #dc7394; } p { color: rgb(220, 115, 148); } header { border-bottom:1px solid #dc7394; }