#d13123 Color
Color Codes | |
---|---|
Hex Code | #d13123 |
RGB Code | rgb(209, 49, 35) |
HSL Code | hsl(5, 71%, 48%) |
#d13123 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(209, 49, 35); }
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(5, 71%, 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 #d13123
RGB Code | Hex Code | Preview |
---|---|---|
rgb(209, 49, 35, 10%) | #d131231a | |
rgb(209, 49, 35, 20%) | #d1312333 | |
rgb(209, 49, 35, 40%) | #d131234C | |
rgb(209, 49, 35, 60%) | #d1312399 | |
rgb(209, 49, 35, 80%) | #d13123CC | |
rgb(209, 49, 35, 100%) | #d13123FF |
Saturated and desaturated colors of #d13123
HSL Code | Preview |
---|---|
hsl(5, 10%, 48%) | |
hsl(5, 20%, 48%) | |
hsl(5, 40%, 48%) | |
hsl(5, 60%, 48%) | |
hsl(5, 80%, 48%) | |
hsl(5, 100%, 48%) |
#d13123 Color Usage In CSS
body { color: #d13123; } p { color: rgb(209, 49, 35); } header { border-bottom:1px solid #d13123; }