#dc284a Color
Color Codes | |
---|---|
Hex Code | #dc284a |
RGB Code | rgb(220, 40, 74) |
HSL Code | hsl(349, 72%, 51%) |
#dc284a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 40, 74); }
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(349, 72%, 51%); }
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 #dc284a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 40, 74, 10%) | #dc284a1a | |
rgb(220, 40, 74, 20%) | #dc284a33 | |
rgb(220, 40, 74, 40%) | #dc284a4C | |
rgb(220, 40, 74, 60%) | #dc284a99 | |
rgb(220, 40, 74, 80%) | #dc284aCC | |
rgb(220, 40, 74, 100%) | #dc284aFF |
Saturated and desaturated colors of #dc284a
HSL Code | Preview |
---|---|
hsl(349, 10%, 51%) | |
hsl(349, 20%, 51%) | |
hsl(349, 40%, 51%) | |
hsl(349, 60%, 51%) | |
hsl(349, 80%, 51%) | |
hsl(349, 100%, 51%) |
#dc284a Color Usage In CSS
body { color: #dc284a; } p { color: rgb(220, 40, 74); } header { border-bottom:1px solid #dc284a; }