#4a2510 Color
Color Codes | |
---|---|
Hex Code | #4a2510 |
RGB Code | rgb(74, 37, 16) |
HSL Code | hsl(22, 64%, 18%) |
#4a2510 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(74, 37, 16); }
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(22, 64%, 18%); }
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 #4a2510
RGB Code | Hex Code | Preview |
---|---|---|
rgb(74, 37, 16, 10%) | #4a25101a | |
rgb(74, 37, 16, 20%) | #4a251033 | |
rgb(74, 37, 16, 40%) | #4a25104C | |
rgb(74, 37, 16, 60%) | #4a251099 | |
rgb(74, 37, 16, 80%) | #4a2510CC | |
rgb(74, 37, 16, 100%) | #4a2510FF |
Saturated and desaturated colors of #4a2510
HSL Code | Preview |
---|---|
hsl(22, 10%, 18%) | |
hsl(22, 20%, 18%) | |
hsl(22, 40%, 18%) | |
hsl(22, 60%, 18%) | |
hsl(22, 80%, 18%) | |
hsl(22, 100%, 18%) |
#4a2510 Color Usage In CSS
body { color: #4a2510; } p { color: rgb(74, 37, 16); } header { border-bottom:1px solid #4a2510; }