#c3b803 Color
Color Codes | |
---|---|
Hex Code | #c3b803 |
RGB Code | rgb(195, 184, 03) |
HSL Code | hsl(57, 97%, 39%) |
#c3b803 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 184, 03); }
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, 97%, 39%); }
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 #c3b803
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 184, 03, 10%) | #c3b8031a | |
rgb(195, 184, 03, 20%) | #c3b80333 | |
rgb(195, 184, 03, 40%) | #c3b8034C | |
rgb(195, 184, 03, 60%) | #c3b80399 | |
rgb(195, 184, 03, 80%) | #c3b803CC | |
rgb(195, 184, 03, 100%) | #c3b803FF |
Saturated and desaturated colors of #c3b803
HSL Code | Preview |
---|---|
hsl(57, 10%, 39%) | |
hsl(57, 20%, 39%) | |
hsl(57, 40%, 39%) | |
hsl(57, 60%, 39%) | |
hsl(57, 80%, 39%) | |
hsl(57, 100%, 39%) |
#c3b803 Color Usage In CSS
body { color: #c3b803; } p { color: rgb(195, 184, 03); } header { border-bottom:1px solid #c3b803; }