#d7878a Color
Color Codes | |
---|---|
Hex Code | #d7878a |
RGB Code | rgb(215, 135, 138) |
HSL Code | hsl(358, 50%, 69%) |
#d7878a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(215, 135, 138); }
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(358, 50%, 69%); }
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 #d7878a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(215, 135, 138, 10%) | #d7878a1a | |
rgb(215, 135, 138, 20%) | #d7878a33 | |
rgb(215, 135, 138, 40%) | #d7878a4C | |
rgb(215, 135, 138, 60%) | #d7878a99 | |
rgb(215, 135, 138, 80%) | #d7878aCC | |
rgb(215, 135, 138, 100%) | #d7878aFF |
Saturated and desaturated colors of #d7878a
HSL Code | Preview |
---|---|
hsl(358, 10%, 69%) | |
hsl(358, 20%, 69%) | |
hsl(358, 40%, 69%) | |
hsl(358, 60%, 69%) | |
hsl(358, 80%, 69%) | |
hsl(358, 100%, 69%) |
#d7878a Color Usage In CSS
body { color: #d7878a; } p { color: rgb(215, 135, 138); } header { border-bottom:1px solid #d7878a; }