#dc74de Color
Color Codes | |
---|---|
Hex Code | #dc74de |
RGB Code | rgb(220, 116, 222) |
HSL Code | hsl(299, 62%, 66%) |
#dc74de Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 116, 222); }
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(299, 62%, 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 #dc74de
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 116, 222, 10%) | #dc74de1a | |
rgb(220, 116, 222, 20%) | #dc74de33 | |
rgb(220, 116, 222, 40%) | #dc74de4C | |
rgb(220, 116, 222, 60%) | #dc74de99 | |
rgb(220, 116, 222, 80%) | #dc74deCC | |
rgb(220, 116, 222, 100%) | #dc74deFF |
Saturated and desaturated colors of #dc74de
HSL Code | Preview |
---|---|
hsl(299, 10%, 66%) | |
hsl(299, 20%, 66%) | |
hsl(299, 40%, 66%) | |
hsl(299, 60%, 66%) | |
hsl(299, 80%, 66%) | |
hsl(299, 100%, 66%) |
#dc74de Color Usage In CSS
body { color: #dc74de; } p { color: rgb(220, 116, 222); } header { border-bottom:1px solid #dc74de; }