#d3617d Color
Color Codes | |
---|---|
Hex Code | #d3617d |
RGB Code | rgb(211, 97, 125) |
HSL Code | hsl(345, 56%, 60%) |
#d3617d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(211, 97, 125); }
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(345, 56%, 60%); }
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 #d3617d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(211, 97, 125, 10%) | #d3617d1a | |
rgb(211, 97, 125, 20%) | #d3617d33 | |
rgb(211, 97, 125, 40%) | #d3617d4C | |
rgb(211, 97, 125, 60%) | #d3617d99 | |
rgb(211, 97, 125, 80%) | #d3617dCC | |
rgb(211, 97, 125, 100%) | #d3617dFF |
Saturated and desaturated colors of #d3617d
HSL Code | Preview |
---|---|
hsl(345, 10%, 60%) | |
hsl(345, 20%, 60%) | |
hsl(345, 40%, 60%) | |
hsl(345, 60%, 60%) | |
hsl(345, 80%, 60%) | |
hsl(345, 100%, 60%) |
#d3617d Color Usage In CSS
body { color: #d3617d; } p { color: rgb(211, 97, 125); } header { border-bottom:1px solid #d3617d; }