#646972 Color
Color Codes | |
---|---|
Hex Code | #646972 |
RGB Code | rgb(100, 105, 114) |
HSL Code | hsl(219, 7%, 42%) |
#646972 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(100, 105, 114); }
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(219, 7%, 42%); }
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 #646972
RGB Code | Hex Code | Preview |
---|---|---|
rgb(100, 105, 114, 10%) | #6469721a | |
rgb(100, 105, 114, 20%) | #64697233 | |
rgb(100, 105, 114, 40%) | #6469724C | |
rgb(100, 105, 114, 60%) | #64697299 | |
rgb(100, 105, 114, 80%) | #646972CC | |
rgb(100, 105, 114, 100%) | #646972FF |
Saturated and desaturated colors of #646972
HSL Code | Preview |
---|---|
hsl(219, 10%, 42%) | |
hsl(219, 20%, 42%) | |
hsl(219, 40%, 42%) | |
hsl(219, 60%, 42%) | |
hsl(219, 80%, 42%) | |
hsl(219, 100%, 42%) |
#646972 Color Usage In CSS
body { color: #646972; } p { color: rgb(100, 105, 114); } header { border-bottom:1px solid #646972; }