#c3b435 Color
Color Codes | |
---|---|
Hex Code | #c3b435 |
RGB Code | rgb(195, 180, 53) |
HSL Code | hsl(54, 57%, 49%) |
#c3b435 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 180, 53); }
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(54, 57%, 49%); }
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 #c3b435
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 180, 53, 10%) | #c3b4351a | |
rgb(195, 180, 53, 20%) | #c3b43533 | |
rgb(195, 180, 53, 40%) | #c3b4354C | |
rgb(195, 180, 53, 60%) | #c3b43599 | |
rgb(195, 180, 53, 80%) | #c3b435CC | |
rgb(195, 180, 53, 100%) | #c3b435FF |
Saturated and desaturated colors of #c3b435
HSL Code | Preview |
---|---|
hsl(54, 10%, 49%) | |
hsl(54, 20%, 49%) | |
hsl(54, 40%, 49%) | |
hsl(54, 60%, 49%) | |
hsl(54, 80%, 49%) | |
hsl(54, 100%, 49%) |
#c3b435 Color Usage In CSS
body { color: #c3b435; } p { color: rgb(195, 180, 53); } header { border-bottom:1px solid #c3b435; }