#a51d09 Color
Color Codes | |
---|---|
Hex Code | #a51d09 |
RGB Code | rgb(165, 29, 09) |
HSL Code | hsl(8, 90%, 34%) |
#a51d09 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 29, 09); }
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(8, 90%, 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 #a51d09
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 29, 09, 10%) | #a51d091a | |
rgb(165, 29, 09, 20%) | #a51d0933 | |
rgb(165, 29, 09, 40%) | #a51d094C | |
rgb(165, 29, 09, 60%) | #a51d0999 | |
rgb(165, 29, 09, 80%) | #a51d09CC | |
rgb(165, 29, 09, 100%) | #a51d09FF |
Saturated and desaturated colors of #a51d09
HSL Code | Preview |
---|---|
hsl(8, 10%, 34%) | |
hsl(8, 20%, 34%) | |
hsl(8, 40%, 34%) | |
hsl(8, 60%, 34%) | |
hsl(8, 80%, 34%) | |
hsl(8, 100%, 34%) |
#a51d09 Color Usage In CSS
body { color: #a51d09; } p { color: rgb(165, 29, 09); } header { border-bottom:1px solid #a51d09; }