#cf4835 Color
Color Codes | |
---|---|
Hex Code | #cf4835 |
RGB Code | rgb(207, 72, 53) |
HSL Code | hsl(7, 62%, 51%) |
#cf4835 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 72, 53); }
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(7, 62%, 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 #cf4835
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 72, 53, 10%) | #cf48351a | |
rgb(207, 72, 53, 20%) | #cf483533 | |
rgb(207, 72, 53, 40%) | #cf48354C | |
rgb(207, 72, 53, 60%) | #cf483599 | |
rgb(207, 72, 53, 80%) | #cf4835CC | |
rgb(207, 72, 53, 100%) | #cf4835FF |
Saturated and desaturated colors of #cf4835
HSL Code | Preview |
---|---|
hsl(7, 10%, 51%) | |
hsl(7, 20%, 51%) | |
hsl(7, 40%, 51%) | |
hsl(7, 60%, 51%) | |
hsl(7, 80%, 51%) | |
hsl(7, 100%, 51%) |
#cf4835 Color Usage In CSS
body { color: #cf4835; } p { color: rgb(207, 72, 53); } header { border-bottom:1px solid #cf4835; }