#c74827 Color
Color Codes | |
---|---|
Hex Code | #c74827 |
RGB Code | rgb(199, 72, 39) |
HSL Code | hsl(12, 67%, 47%) |
#c74827 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(199, 72, 39); }
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(12, 67%, 47%); }
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 #c74827
RGB Code | Hex Code | Preview |
---|---|---|
rgb(199, 72, 39, 10%) | #c748271a | |
rgb(199, 72, 39, 20%) | #c7482733 | |
rgb(199, 72, 39, 40%) | #c748274C | |
rgb(199, 72, 39, 60%) | #c7482799 | |
rgb(199, 72, 39, 80%) | #c74827CC | |
rgb(199, 72, 39, 100%) | #c74827FF |
Saturated and desaturated colors of #c74827
HSL Code | Preview |
---|---|
hsl(12, 10%, 47%) | |
hsl(12, 20%, 47%) | |
hsl(12, 40%, 47%) | |
hsl(12, 60%, 47%) | |
hsl(12, 80%, 47%) | |
hsl(12, 100%, 47%) |
#c74827 Color Usage In CSS
body { color: #c74827; } p { color: rgb(199, 72, 39); } header { border-bottom:1px solid #c74827; }