#c0ba1d Color
Color Codes | |
---|---|
Hex Code | #c0ba1d |
RGB Code | rgb(192, 186, 29) |
HSL Code | hsl(58, 74%, 43%) |
#c0ba1d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 186, 29); }
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(58, 74%, 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 #c0ba1d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 186, 29, 10%) | #c0ba1d1a | |
rgb(192, 186, 29, 20%) | #c0ba1d33 | |
rgb(192, 186, 29, 40%) | #c0ba1d4C | |
rgb(192, 186, 29, 60%) | #c0ba1d99 | |
rgb(192, 186, 29, 80%) | #c0ba1dCC | |
rgb(192, 186, 29, 100%) | #c0ba1dFF |
Saturated and desaturated colors of #c0ba1d
HSL Code | Preview |
---|---|
hsl(58, 10%, 43%) | |
hsl(58, 20%, 43%) | |
hsl(58, 40%, 43%) | |
hsl(58, 60%, 43%) | |
hsl(58, 80%, 43%) | |
hsl(58, 100%, 43%) |
#c0ba1d Color Usage In CSS
body { color: #c0ba1d; } p { color: rgb(192, 186, 29); } header { border-bottom:1px solid #c0ba1d; }