#515061 Color
Color Codes | |
---|---|
Hex Code | #515061 |
RGB Code | rgb(81, 80, 97) |
HSL Code | hsl(244, 10%, 35%) |
#515061 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 80, 97); }
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(244, 10%, 35%); }
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 #515061
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 80, 97, 10%) | #5150611a | |
rgb(81, 80, 97, 20%) | #51506133 | |
rgb(81, 80, 97, 40%) | #5150614C | |
rgb(81, 80, 97, 60%) | #51506199 | |
rgb(81, 80, 97, 80%) | #515061CC | |
rgb(81, 80, 97, 100%) | #515061FF |
Saturated and desaturated colors of #515061
HSL Code | Preview |
---|---|
hsl(244, 10%, 35%) | |
hsl(244, 20%, 35%) | |
hsl(244, 40%, 35%) | |
hsl(244, 60%, 35%) | |
hsl(244, 80%, 35%) | |
hsl(244, 100%, 35%) |
#515061 Color Usage In CSS
body { color: #515061; } p { color: rgb(81, 80, 97); } header { border-bottom:1px solid #515061; }