#d62321 Color
Color Codes | |
---|---|
Hex Code | #d62321 |
RGB Code | rgb(214, 35, 33) |
HSL Code | hsl(1, 73%, 48%) |
#d62321 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(214, 35, 33); }
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(1, 73%, 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 #d62321
RGB Code | Hex Code | Preview |
---|---|---|
rgb(214, 35, 33, 10%) | #d623211a | |
rgb(214, 35, 33, 20%) | #d6232133 | |
rgb(214, 35, 33, 40%) | #d623214C | |
rgb(214, 35, 33, 60%) | #d6232199 | |
rgb(214, 35, 33, 80%) | #d62321CC | |
rgb(214, 35, 33, 100%) | #d62321FF |
Saturated and desaturated colors of #d62321
HSL Code | Preview |
---|---|
hsl(1, 10%, 48%) | |
hsl(1, 20%, 48%) | |
hsl(1, 40%, 48%) | |
hsl(1, 60%, 48%) | |
hsl(1, 80%, 48%) | |
hsl(1, 100%, 48%) |
#d62321 Color Usage In CSS
body { color: #d62321; } p { color: rgb(214, 35, 33); } header { border-bottom:1px solid #d62321; }