#d6034c Color
Color Codes | |
---|---|
Hex Code | #d6034c |
RGB Code | rgb(214, 03, 76) |
HSL Code | hsl(339, 97%, 43%) |
#d6034c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(214, 03, 76); }
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(339, 97%, 43%); }
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 #d6034c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(214, 03, 76, 10%) | #d6034c1a | |
rgb(214, 03, 76, 20%) | #d6034c33 | |
rgb(214, 03, 76, 40%) | #d6034c4C | |
rgb(214, 03, 76, 60%) | #d6034c99 | |
rgb(214, 03, 76, 80%) | #d6034cCC | |
rgb(214, 03, 76, 100%) | #d6034cFF |
Saturated and desaturated colors of #d6034c
HSL Code | Preview |
---|---|
hsl(339, 10%, 43%) | |
hsl(339, 20%, 43%) | |
hsl(339, 40%, 43%) | |
hsl(339, 60%, 43%) | |
hsl(339, 80%, 43%) | |
hsl(339, 100%, 43%) |
#d6034c Color Usage In CSS
body { color: #d6034c; } p { color: rgb(214, 03, 76); } header { border-bottom:1px solid #d6034c; }