#d74566 Color
Color Codes | |
---|---|
Hex Code | #d74566 |
RGB Code | rgb(215, 69, 102) |
HSL Code | hsl(346, 65%, 56%) |
#d74566 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(215, 69, 102); }
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(346, 65%, 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 #d74566
RGB Code | Hex Code | Preview |
---|---|---|
rgb(215, 69, 102, 10%) | #d745661a | |
rgb(215, 69, 102, 20%) | #d7456633 | |
rgb(215, 69, 102, 40%) | #d745664C | |
rgb(215, 69, 102, 60%) | #d7456699 | |
rgb(215, 69, 102, 80%) | #d74566CC | |
rgb(215, 69, 102, 100%) | #d74566FF |
Saturated and desaturated colors of #d74566
HSL Code | Preview |
---|---|
hsl(346, 10%, 56%) | |
hsl(346, 20%, 56%) | |
hsl(346, 40%, 56%) | |
hsl(346, 60%, 56%) | |
hsl(346, 80%, 56%) | |
hsl(346, 100%, 56%) |
#d74566 Color Usage In CSS
body { color: #d74566; } p { color: rgb(215, 69, 102); } header { border-bottom:1px solid #d74566; }