#d4727c Color
Color Codes | |
---|---|
Hex Code | #d4727c |
RGB Code | rgb(212, 114, 124) |
HSL Code | hsl(354, 53%, 64%) |
#d4727c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 114, 124); }
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(354, 53%, 64%); }
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 #d4727c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 114, 124, 10%) | #d4727c1a | |
rgb(212, 114, 124, 20%) | #d4727c33 | |
rgb(212, 114, 124, 40%) | #d4727c4C | |
rgb(212, 114, 124, 60%) | #d4727c99 | |
rgb(212, 114, 124, 80%) | #d4727cCC | |
rgb(212, 114, 124, 100%) | #d4727cFF |
Saturated and desaturated colors of #d4727c
HSL Code | Preview |
---|---|
hsl(354, 10%, 64%) | |
hsl(354, 20%, 64%) | |
hsl(354, 40%, 64%) | |
hsl(354, 60%, 64%) | |
hsl(354, 80%, 64%) | |
hsl(354, 100%, 64%) |
#d4727c Color Usage In CSS
body { color: #d4727c; } p { color: rgb(212, 114, 124); } header { border-bottom:1px solid #d4727c; }