#dc9c72 Color
Color Codes | |
---|---|
Hex Code | #dc9c72 |
RGB Code | rgb(220, 156, 114) |
HSL Code | hsl(24, 60%, 65%) |
#dc9c72 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 156, 114); }
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(24, 60%, 65%); }
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 #dc9c72
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 156, 114, 10%) | #dc9c721a | |
rgb(220, 156, 114, 20%) | #dc9c7233 | |
rgb(220, 156, 114, 40%) | #dc9c724C | |
rgb(220, 156, 114, 60%) | #dc9c7299 | |
rgb(220, 156, 114, 80%) | #dc9c72CC | |
rgb(220, 156, 114, 100%) | #dc9c72FF |
Saturated and desaturated colors of #dc9c72
HSL Code | Preview |
---|---|
hsl(24, 10%, 65%) | |
hsl(24, 20%, 65%) | |
hsl(24, 40%, 65%) | |
hsl(24, 60%, 65%) | |
hsl(24, 80%, 65%) | |
hsl(24, 100%, 65%) |
#dc9c72 Color Usage In CSS
body { color: #dc9c72; } p { color: rgb(220, 156, 114); } header { border-bottom:1px solid #dc9c72; }