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