#ca9e08 Color
Color Codes | |
---|---|
Hex Code | #ca9e08 |
RGB Code | rgb(202, 158, 08) |
HSL Code | hsl(46, 92%, 41%) |
#ca9e08 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 158, 08); }
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(46, 92%, 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 #ca9e08
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 158, 08, 10%) | #ca9e081a | |
rgb(202, 158, 08, 20%) | #ca9e0833 | |
rgb(202, 158, 08, 40%) | #ca9e084C | |
rgb(202, 158, 08, 60%) | #ca9e0899 | |
rgb(202, 158, 08, 80%) | #ca9e08CC | |
rgb(202, 158, 08, 100%) | #ca9e08FF |
Saturated and desaturated colors of #ca9e08
HSL Code | Preview |
---|---|
hsl(46, 10%, 41%) | |
hsl(46, 20%, 41%) | |
hsl(46, 40%, 41%) | |
hsl(46, 60%, 41%) | |
hsl(46, 80%, 41%) | |
hsl(46, 100%, 41%) |
#ca9e08 Color Usage In CSS
body { color: #ca9e08; } p { color: rgb(202, 158, 08); } header { border-bottom:1px solid #ca9e08; }