#c18a28 Color
Color Codes | |
---|---|
Hex Code | #c18a28 |
RGB Code | rgb(193, 138, 40) |
HSL Code | hsl(38, 66%, 46%) |
#c18a28 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 138, 40); }
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(38, 66%, 46%); }
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 #c18a28
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 138, 40, 10%) | #c18a281a | |
rgb(193, 138, 40, 20%) | #c18a2833 | |
rgb(193, 138, 40, 40%) | #c18a284C | |
rgb(193, 138, 40, 60%) | #c18a2899 | |
rgb(193, 138, 40, 80%) | #c18a28CC | |
rgb(193, 138, 40, 100%) | #c18a28FF |
Saturated and desaturated colors of #c18a28
HSL Code | Preview |
---|---|
hsl(38, 10%, 46%) | |
hsl(38, 20%, 46%) | |
hsl(38, 40%, 46%) | |
hsl(38, 60%, 46%) | |
hsl(38, 80%, 46%) | |
hsl(38, 100%, 46%) |
#c18a28 Color Usage In CSS
body { color: #c18a28; } p { color: rgb(193, 138, 40); } header { border-bottom:1px solid #c18a28; }