#c0ab54 Color
Color Codes | |
---|---|
Hex Code | #c0ab54 |
RGB Code | rgb(192, 171, 84) |
HSL Code | hsl(48, 46%, 54%) |
#c0ab54 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 171, 84); }
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(48, 46%, 54%); }
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 #c0ab54
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 171, 84, 10%) | #c0ab541a | |
rgb(192, 171, 84, 20%) | #c0ab5433 | |
rgb(192, 171, 84, 40%) | #c0ab544C | |
rgb(192, 171, 84, 60%) | #c0ab5499 | |
rgb(192, 171, 84, 80%) | #c0ab54CC | |
rgb(192, 171, 84, 100%) | #c0ab54FF |
Saturated and desaturated colors of #c0ab54
HSL Code | Preview |
---|---|
hsl(48, 10%, 54%) | |
hsl(48, 20%, 54%) | |
hsl(48, 40%, 54%) | |
hsl(48, 60%, 54%) | |
hsl(48, 80%, 54%) | |
hsl(48, 100%, 54%) |
#c0ab54 Color Usage In CSS
body { color: #c0ab54; } p { color: rgb(192, 171, 84); } header { border-bottom:1px solid #c0ab54; }