#c3b930 Color
Color Codes | |
---|---|
Hex Code | #c3b930 |
RGB Code | rgb(195, 185, 48) |
HSL Code | hsl(56, 60%, 48%) |
#c3b930 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 185, 48); }
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(56, 60%, 48%); }
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 #c3b930
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 185, 48, 10%) | #c3b9301a | |
rgb(195, 185, 48, 20%) | #c3b93033 | |
rgb(195, 185, 48, 40%) | #c3b9304C | |
rgb(195, 185, 48, 60%) | #c3b93099 | |
rgb(195, 185, 48, 80%) | #c3b930CC | |
rgb(195, 185, 48, 100%) | #c3b930FF |
Saturated and desaturated colors of #c3b930
HSL Code | Preview |
---|---|
hsl(56, 10%, 48%) | |
hsl(56, 20%, 48%) | |
hsl(56, 40%, 48%) | |
hsl(56, 60%, 48%) | |
hsl(56, 80%, 48%) | |
hsl(56, 100%, 48%) |
#c3b930 Color Usage In CSS
body { color: #c3b930; } p { color: rgb(195, 185, 48); } header { border-bottom:1px solid #c3b930; }