#d404bc Color
Color Codes | |
---|---|
Hex Code | #d404bc |
RGB Code | rgb(212, 04, 188) |
HSL Code | hsl(307, 96%, 42%) |
#d404bc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 04, 188); }
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(307, 96%, 42%); }
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 #d404bc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 04, 188, 10%) | #d404bc1a | |
rgb(212, 04, 188, 20%) | #d404bc33 | |
rgb(212, 04, 188, 40%) | #d404bc4C | |
rgb(212, 04, 188, 60%) | #d404bc99 | |
rgb(212, 04, 188, 80%) | #d404bcCC | |
rgb(212, 04, 188, 100%) | #d404bcFF |
Saturated and desaturated colors of #d404bc
HSL Code | Preview |
---|---|
hsl(307, 10%, 42%) | |
hsl(307, 20%, 42%) | |
hsl(307, 40%, 42%) | |
hsl(307, 60%, 42%) | |
hsl(307, 80%, 42%) | |
hsl(307, 100%, 42%) |
#d404bc Color Usage In CSS
body { color: #d404bc; } p { color: rgb(212, 04, 188); } header { border-bottom:1px solid #d404bc; }