#7e2804 Color
Color Codes | |
---|---|
Hex Code | #7e2804 |
RGB Code | rgb(126, 40, 04) |
HSL Code | hsl(18, 94%, 25%) |
#7e2804 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(126, 40, 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(18, 94%, 25%); }
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 #7e2804
RGB Code | Hex Code | Preview |
---|---|---|
rgb(126, 40, 04, 10%) | #7e28041a | |
rgb(126, 40, 04, 20%) | #7e280433 | |
rgb(126, 40, 04, 40%) | #7e28044C | |
rgb(126, 40, 04, 60%) | #7e280499 | |
rgb(126, 40, 04, 80%) | #7e2804CC | |
rgb(126, 40, 04, 100%) | #7e2804FF |
Saturated and desaturated colors of #7e2804
HSL Code | Preview |
---|---|
hsl(18, 10%, 25%) | |
hsl(18, 20%, 25%) | |
hsl(18, 40%, 25%) | |
hsl(18, 60%, 25%) | |
hsl(18, 80%, 25%) | |
hsl(18, 100%, 25%) |
#7e2804 Color Usage In CSS
body { color: #7e2804; } p { color: rgb(126, 40, 04); } header { border-bottom:1px solid #7e2804; }