#42510e Color
Color Codes | |
---|---|
Hex Code | #42510e |
RGB Code | rgb(66, 81, 14) |
HSL Code | hsl(73, 71%, 19%) |
#42510e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(66, 81, 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(73, 71%, 19%); }
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 #42510e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(66, 81, 14, 10%) | #42510e1a | |
rgb(66, 81, 14, 20%) | #42510e33 | |
rgb(66, 81, 14, 40%) | #42510e4C | |
rgb(66, 81, 14, 60%) | #42510e99 | |
rgb(66, 81, 14, 80%) | #42510eCC | |
rgb(66, 81, 14, 100%) | #42510eFF |
Saturated and desaturated colors of #42510e
HSL Code | Preview |
---|---|
hsl(73, 10%, 19%) | |
hsl(73, 20%, 19%) | |
hsl(73, 40%, 19%) | |
hsl(73, 60%, 19%) | |
hsl(73, 80%, 19%) | |
hsl(73, 100%, 19%) |
#42510e Color Usage In CSS
body { color: #42510e; } p { color: rgb(66, 81, 14); } header { border-bottom:1px solid #42510e; }