#51350c Color
Color Codes | |
---|---|
Hex Code | #51350c |
RGB Code | rgb(81, 53, 12) |
HSL Code | hsl(36, 74%, 18%) |
#51350c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 53, 12); }
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(36, 74%, 18%); }
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 #51350c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 53, 12, 10%) | #51350c1a | |
rgb(81, 53, 12, 20%) | #51350c33 | |
rgb(81, 53, 12, 40%) | #51350c4C | |
rgb(81, 53, 12, 60%) | #51350c99 | |
rgb(81, 53, 12, 80%) | #51350cCC | |
rgb(81, 53, 12, 100%) | #51350cFF |
Saturated and desaturated colors of #51350c
HSL Code | Preview |
---|---|
hsl(36, 10%, 18%) | |
hsl(36, 20%, 18%) | |
hsl(36, 40%, 18%) | |
hsl(36, 60%, 18%) | |
hsl(36, 80%, 18%) | |
hsl(36, 100%, 18%) |
#51350c Color Usage In CSS
body { color: #51350c; } p { color: rgb(81, 53, 12); } header { border-bottom:1px solid #51350c; }