#cca624 Color
Color Codes | |
---|---|
Hex Code | #cca624 |
RGB Code | rgb(204, 166, 36) |
HSL Code | hsl(46, 70%, 47%) |
#cca624 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 166, 36); }
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, 70%, 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 #cca624
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 166, 36, 10%) | #cca6241a | |
rgb(204, 166, 36, 20%) | #cca62433 | |
rgb(204, 166, 36, 40%) | #cca6244C | |
rgb(204, 166, 36, 60%) | #cca62499 | |
rgb(204, 166, 36, 80%) | #cca624CC | |
rgb(204, 166, 36, 100%) | #cca624FF |
Saturated and desaturated colors of #cca624
HSL Code | Preview |
---|---|
hsl(46, 10%, 47%) | |
hsl(46, 20%, 47%) | |
hsl(46, 40%, 47%) | |
hsl(46, 60%, 47%) | |
hsl(46, 80%, 47%) | |
hsl(46, 100%, 47%) |
#cca624 Color Usage In CSS
body { color: #cca624; } p { color: rgb(204, 166, 36); } header { border-bottom:1px solid #cca624; }