#cd7e0e Color
Color Codes | |
---|---|
Hex Code | #cd7e0e |
RGB Code | rgb(205, 126, 14) |
HSL Code | hsl(35, 87%, 43%) |
#cd7e0e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 126, 14); }
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(35, 87%, 43%); }
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 #cd7e0e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 126, 14, 10%) | #cd7e0e1a | |
rgb(205, 126, 14, 20%) | #cd7e0e33 | |
rgb(205, 126, 14, 40%) | #cd7e0e4C | |
rgb(205, 126, 14, 60%) | #cd7e0e99 | |
rgb(205, 126, 14, 80%) | #cd7e0eCC | |
rgb(205, 126, 14, 100%) | #cd7e0eFF |
Saturated and desaturated colors of #cd7e0e
HSL Code | Preview |
---|---|
hsl(35, 10%, 43%) | |
hsl(35, 20%, 43%) | |
hsl(35, 40%, 43%) | |
hsl(35, 60%, 43%) | |
hsl(35, 80%, 43%) | |
hsl(35, 100%, 43%) |
#cd7e0e Color Usage In CSS
body { color: #cd7e0e; } p { color: rgb(205, 126, 14); } header { border-bottom:1px solid #cd7e0e; }