#d34974 Color
Color Codes | |
---|---|
Hex Code | #d34974 |
RGB Code | rgb(211, 73, 116) |
HSL Code | hsl(341, 61%, 56%) |
#d34974 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(211, 73, 116); }
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(341, 61%, 56%); }
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 #d34974
RGB Code | Hex Code | Preview |
---|---|---|
rgb(211, 73, 116, 10%) | #d349741a | |
rgb(211, 73, 116, 20%) | #d3497433 | |
rgb(211, 73, 116, 40%) | #d349744C | |
rgb(211, 73, 116, 60%) | #d3497499 | |
rgb(211, 73, 116, 80%) | #d34974CC | |
rgb(211, 73, 116, 100%) | #d34974FF |
Saturated and desaturated colors of #d34974
HSL Code | Preview |
---|---|
hsl(341, 10%, 56%) | |
hsl(341, 20%, 56%) | |
hsl(341, 40%, 56%) | |
hsl(341, 60%, 56%) | |
hsl(341, 80%, 56%) | |
hsl(341, 100%, 56%) |
#d34974 Color Usage In CSS
body { color: #d34974; } p { color: rgb(211, 73, 116); } header { border-bottom:1px solid #d34974; }