#c3b800 Color
Color Codes | |
---|---|
Hex Code | #c3b800 |
RGB Code | rgb(195, 184, 00) |
HSL Code | hsl(57, 100%, 38%) |
#c3b800 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 184, 00); }
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(57, 100%, 38%); }
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 #c3b800
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 184, 00, 10%) | #c3b8001a | |
rgb(195, 184, 00, 20%) | #c3b80033 | |
rgb(195, 184, 00, 40%) | #c3b8004C | |
rgb(195, 184, 00, 60%) | #c3b80099 | |
rgb(195, 184, 00, 80%) | #c3b800CC | |
rgb(195, 184, 00, 100%) | #c3b800FF |
Saturated and desaturated colors of #c3b800
HSL Code | Preview |
---|---|
hsl(57, 10%, 38%) | |
hsl(57, 20%, 38%) | |
hsl(57, 40%, 38%) | |
hsl(57, 60%, 38%) | |
hsl(57, 80%, 38%) | |
hsl(57, 100%, 38%) |
#c3b800 Color Usage In CSS
body { color: #c3b800; } p { color: rgb(195, 184, 00); } header { border-bottom:1px solid #c3b800; }