#9a2725 Color
Color Codes | |
---|---|
Hex Code | #9a2725 |
RGB Code | rgb(154, 39, 37) |
HSL Code | hsl(1, 61%, 37%) |
#9a2725 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(154, 39, 37); }
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(1, 61%, 37%); }
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 #9a2725
RGB Code | Hex Code | Preview |
---|---|---|
rgb(154, 39, 37, 10%) | #9a27251a | |
rgb(154, 39, 37, 20%) | #9a272533 | |
rgb(154, 39, 37, 40%) | #9a27254C | |
rgb(154, 39, 37, 60%) | #9a272599 | |
rgb(154, 39, 37, 80%) | #9a2725CC | |
rgb(154, 39, 37, 100%) | #9a2725FF |
Saturated and desaturated colors of #9a2725
HSL Code | Preview |
---|---|
hsl(1, 10%, 37%) | |
hsl(1, 20%, 37%) | |
hsl(1, 40%, 37%) | |
hsl(1, 60%, 37%) | |
hsl(1, 80%, 37%) | |
hsl(1, 100%, 37%) |
#9a2725 Color Usage In CSS
body { color: #9a2725; } p { color: rgb(154, 39, 37); } header { border-bottom:1px solid #9a2725; }