#9a4d15 Color
Color Codes | |
---|---|
Hex Code | #9a4d15 |
RGB Code | rgb(154, 77, 21) |
HSL Code | hsl(25, 76%, 34%) |
#9a4d15 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(154, 77, 21); }
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(25, 76%, 34%); }
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 #9a4d15
RGB Code | Hex Code | Preview |
---|---|---|
rgb(154, 77, 21, 10%) | #9a4d151a | |
rgb(154, 77, 21, 20%) | #9a4d1533 | |
rgb(154, 77, 21, 40%) | #9a4d154C | |
rgb(154, 77, 21, 60%) | #9a4d1599 | |
rgb(154, 77, 21, 80%) | #9a4d15CC | |
rgb(154, 77, 21, 100%) | #9a4d15FF |
Saturated and desaturated colors of #9a4d15
HSL Code | Preview |
---|---|
hsl(25, 10%, 34%) | |
hsl(25, 20%, 34%) | |
hsl(25, 40%, 34%) | |
hsl(25, 60%, 34%) | |
hsl(25, 80%, 34%) | |
hsl(25, 100%, 34%) |
#9a4d15 Color Usage In CSS
body { color: #9a4d15; } p { color: rgb(154, 77, 21); } header { border-bottom:1px solid #9a4d15; }