#d01325 Color
Color Codes | |
---|---|
Hex Code | #d01325 |
RGB Code | rgb(208, 19, 37) |
HSL Code | hsl(354, 83%, 45%) |
#d01325 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(208, 19, 37); }
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(354, 83%, 45%); }
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 #d01325
RGB Code | Hex Code | Preview |
---|---|---|
rgb(208, 19, 37, 10%) | #d013251a | |
rgb(208, 19, 37, 20%) | #d0132533 | |
rgb(208, 19, 37, 40%) | #d013254C | |
rgb(208, 19, 37, 60%) | #d0132599 | |
rgb(208, 19, 37, 80%) | #d01325CC | |
rgb(208, 19, 37, 100%) | #d01325FF |
Saturated and desaturated colors of #d01325
HSL Code | Preview |
---|---|
hsl(354, 10%, 45%) | |
hsl(354, 20%, 45%) | |
hsl(354, 40%, 45%) | |
hsl(354, 60%, 45%) | |
hsl(354, 80%, 45%) | |
hsl(354, 100%, 45%) |
#d01325 Color Usage In CSS
body { color: #d01325; } p { color: rgb(208, 19, 37); } header { border-bottom:1px solid #d01325; }