#cf9e14 Color
Color Codes | |
---|---|
Hex Code | #cf9e14 |
RGB Code | rgb(207, 158, 20) |
HSL Code | hsl(44, 82%, 45%) |
#cf9e14 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 158, 20); }
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(44, 82%, 45%); }
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 #cf9e14
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 158, 20, 10%) | #cf9e141a | |
rgb(207, 158, 20, 20%) | #cf9e1433 | |
rgb(207, 158, 20, 40%) | #cf9e144C | |
rgb(207, 158, 20, 60%) | #cf9e1499 | |
rgb(207, 158, 20, 80%) | #cf9e14CC | |
rgb(207, 158, 20, 100%) | #cf9e14FF |
Saturated and desaturated colors of #cf9e14
HSL Code | Preview |
---|---|
hsl(44, 10%, 45%) | |
hsl(44, 20%, 45%) | |
hsl(44, 40%, 45%) | |
hsl(44, 60%, 45%) | |
hsl(44, 80%, 45%) | |
hsl(44, 100%, 45%) |
#cf9e14 Color Usage In CSS
body { color: #cf9e14; } p { color: rgb(207, 158, 20); } header { border-bottom:1px solid #cf9e14; }