#7f7101 Color
Color Codes | |
---|---|
Hex Code | #7f7101 |
RGB Code | rgb(127, 113, 01) |
HSL Code | hsl(53, 98%, 25%) |
#7f7101 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 113, 01); }
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(53, 98%, 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 #7f7101
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 113, 01, 10%) | #7f71011a | |
rgb(127, 113, 01, 20%) | #7f710133 | |
rgb(127, 113, 01, 40%) | #7f71014C | |
rgb(127, 113, 01, 60%) | #7f710199 | |
rgb(127, 113, 01, 80%) | #7f7101CC | |
rgb(127, 113, 01, 100%) | #7f7101FF |
Saturated and desaturated colors of #7f7101
HSL Code | Preview |
---|---|
hsl(53, 10%, 25%) | |
hsl(53, 20%, 25%) | |
hsl(53, 40%, 25%) | |
hsl(53, 60%, 25%) | |
hsl(53, 80%, 25%) | |
hsl(53, 100%, 25%) |
#7f7101 Color Usage In CSS
body { color: #7f7101; } p { color: rgb(127, 113, 01); } header { border-bottom:1px solid #7f7101; }