#a55f40 Color
Color Codes | |
---|---|
Hex Code | #a55f40 |
RGB Code | rgb(165, 95, 64) |
HSL Code | hsl(18, 44%, 45%) |
#a55f40 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 95, 64); }
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(18, 44%, 45%); }
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 #a55f40
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 95, 64, 10%) | #a55f401a | |
rgb(165, 95, 64, 20%) | #a55f4033 | |
rgb(165, 95, 64, 40%) | #a55f404C | |
rgb(165, 95, 64, 60%) | #a55f4099 | |
rgb(165, 95, 64, 80%) | #a55f40CC | |
rgb(165, 95, 64, 100%) | #a55f40FF |
Saturated and desaturated colors of #a55f40
HSL Code | Preview |
---|---|
hsl(18, 10%, 45%) | |
hsl(18, 20%, 45%) | |
hsl(18, 40%, 45%) | |
hsl(18, 60%, 45%) | |
hsl(18, 80%, 45%) | |
hsl(18, 100%, 45%) |
#a55f40 Color Usage In CSS
body { color: #a55f40; } p { color: rgb(165, 95, 64); } header { border-bottom:1px solid #a55f40; }