#c1270f Color
Color Codes | |
---|---|
Hex Code | #c1270f |
RGB Code | rgb(193, 39, 15) |
HSL Code | hsl(8, 86%, 41%) |
#c1270f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 39, 15); }
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(8, 86%, 41%); }
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 #c1270f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 39, 15, 10%) | #c1270f1a | |
rgb(193, 39, 15, 20%) | #c1270f33 | |
rgb(193, 39, 15, 40%) | #c1270f4C | |
rgb(193, 39, 15, 60%) | #c1270f99 | |
rgb(193, 39, 15, 80%) | #c1270fCC | |
rgb(193, 39, 15, 100%) | #c1270fFF |
Saturated and desaturated colors of #c1270f
HSL Code | Preview |
---|---|
hsl(8, 10%, 41%) | |
hsl(8, 20%, 41%) | |
hsl(8, 40%, 41%) | |
hsl(8, 60%, 41%) | |
hsl(8, 80%, 41%) | |
hsl(8, 100%, 41%) |
#c1270f Color Usage In CSS
body { color: #c1270f; } p { color: rgb(193, 39, 15); } header { border-bottom:1px solid #c1270f; }