#c61321 Color
Color Codes | |
---|---|
Hex Code | #c61321 |
RGB Code | rgb(198, 19, 33) |
HSL Code | hsl(355, 82%, 43%) |
#c61321 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 19, 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(355, 82%, 43%); }
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 #c61321
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 19, 33, 10%) | #c613211a | |
rgb(198, 19, 33, 20%) | #c6132133 | |
rgb(198, 19, 33, 40%) | #c613214C | |
rgb(198, 19, 33, 60%) | #c6132199 | |
rgb(198, 19, 33, 80%) | #c61321CC | |
rgb(198, 19, 33, 100%) | #c61321FF |
Saturated and desaturated colors of #c61321
HSL Code | Preview |
---|---|
hsl(355, 10%, 43%) | |
hsl(355, 20%, 43%) | |
hsl(355, 40%, 43%) | |
hsl(355, 60%, 43%) | |
hsl(355, 80%, 43%) | |
hsl(355, 100%, 43%) |
#c61321 Color Usage In CSS
body { color: #c61321; } p { color: rgb(198, 19, 33); } header { border-bottom:1px solid #c61321; }