#dc9504 Color
Color Codes | |
---|---|
Hex Code | #dc9504 |
RGB Code | rgb(220, 149, 04) |
HSL Code | hsl(40, 96%, 44%) |
#dc9504 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 149, 04); }
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(40, 96%, 44%); }
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 #dc9504
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 149, 04, 10%) | #dc95041a | |
rgb(220, 149, 04, 20%) | #dc950433 | |
rgb(220, 149, 04, 40%) | #dc95044C | |
rgb(220, 149, 04, 60%) | #dc950499 | |
rgb(220, 149, 04, 80%) | #dc9504CC | |
rgb(220, 149, 04, 100%) | #dc9504FF |
Saturated and desaturated colors of #dc9504
HSL Code | Preview |
---|---|
hsl(40, 10%, 44%) | |
hsl(40, 20%, 44%) | |
hsl(40, 40%, 44%) | |
hsl(40, 60%, 44%) | |
hsl(40, 80%, 44%) | |
hsl(40, 100%, 44%) |
#dc9504 Color Usage In CSS
body { color: #dc9504; } p { color: rgb(220, 149, 04); } header { border-bottom:1px solid #dc9504; }