#d61e5b Color
Color Codes | |
---|---|
Hex Code | #d61e5b |
RGB Code | rgb(214, 30, 91) |
HSL Code | hsl(340, 75%, 48%) |
#d61e5b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(214, 30, 91); }
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(340, 75%, 48%); }
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 #d61e5b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(214, 30, 91, 10%) | #d61e5b1a | |
rgb(214, 30, 91, 20%) | #d61e5b33 | |
rgb(214, 30, 91, 40%) | #d61e5b4C | |
rgb(214, 30, 91, 60%) | #d61e5b99 | |
rgb(214, 30, 91, 80%) | #d61e5bCC | |
rgb(214, 30, 91, 100%) | #d61e5bFF |
Saturated and desaturated colors of #d61e5b
HSL Code | Preview |
---|---|
hsl(340, 10%, 48%) | |
hsl(340, 20%, 48%) | |
hsl(340, 40%, 48%) | |
hsl(340, 60%, 48%) | |
hsl(340, 80%, 48%) | |
hsl(340, 100%, 48%) |
#d61e5b Color Usage In CSS
body { color: #d61e5b; } p { color: rgb(214, 30, 91); } header { border-bottom:1px solid #d61e5b; }