#dd272a Color
Color Codes | |
---|---|
Hex Code | #dd272a |
RGB Code | rgb(221, 39, 42) |
HSL Code | hsl(359, 73%, 51%) |
#dd272a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 39, 42); }
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(359, 73%, 51%); }
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 #dd272a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 39, 42, 10%) | #dd272a1a | |
rgb(221, 39, 42, 20%) | #dd272a33 | |
rgb(221, 39, 42, 40%) | #dd272a4C | |
rgb(221, 39, 42, 60%) | #dd272a99 | |
rgb(221, 39, 42, 80%) | #dd272aCC | |
rgb(221, 39, 42, 100%) | #dd272aFF |
Saturated and desaturated colors of #dd272a
HSL Code | Preview |
---|---|
hsl(359, 10%, 51%) | |
hsl(359, 20%, 51%) | |
hsl(359, 40%, 51%) | |
hsl(359, 60%, 51%) | |
hsl(359, 80%, 51%) | |
hsl(359, 100%, 51%) |
#dd272a Color Usage In CSS
body { color: #dd272a; } p { color: rgb(221, 39, 42); } header { border-bottom:1px solid #dd272a; }