#cf4e0a Color
Color Codes | |
---|---|
Hex Code | #cf4e0a |
RGB Code | rgb(207, 78, 10) |
HSL Code | hsl(21, 91%, 43%) |
#cf4e0a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 78, 10); }
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(21, 91%, 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 #cf4e0a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 78, 10, 10%) | #cf4e0a1a | |
rgb(207, 78, 10, 20%) | #cf4e0a33 | |
rgb(207, 78, 10, 40%) | #cf4e0a4C | |
rgb(207, 78, 10, 60%) | #cf4e0a99 | |
rgb(207, 78, 10, 80%) | #cf4e0aCC | |
rgb(207, 78, 10, 100%) | #cf4e0aFF |
Saturated and desaturated colors of #cf4e0a
HSL Code | Preview |
---|---|
hsl(21, 10%, 43%) | |
hsl(21, 20%, 43%) | |
hsl(21, 40%, 43%) | |
hsl(21, 60%, 43%) | |
hsl(21, 80%, 43%) | |
hsl(21, 100%, 43%) |
#cf4e0a Color Usage In CSS
body { color: #cf4e0a; } p { color: rgb(207, 78, 10); } header { border-bottom:1px solid #cf4e0a; }