#343757 Color
Color Codes | |
---|---|
Hex Code | #343757 |
RGB Code | rgb(52, 55, 87) |
HSL Code | hsl(235, 25%, 27%) |
#343757 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(52, 55, 87); }
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(235, 25%, 27%); }
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 #343757
RGB Code | Hex Code | Preview |
---|---|---|
rgb(52, 55, 87, 10%) | #3437571a | |
rgb(52, 55, 87, 20%) | #34375733 | |
rgb(52, 55, 87, 40%) | #3437574C | |
rgb(52, 55, 87, 60%) | #34375799 | |
rgb(52, 55, 87, 80%) | #343757CC | |
rgb(52, 55, 87, 100%) | #343757FF |
Saturated and desaturated colors of #343757
HSL Code | Preview |
---|---|
hsl(235, 10%, 27%) | |
hsl(235, 20%, 27%) | |
hsl(235, 40%, 27%) | |
hsl(235, 60%, 27%) | |
hsl(235, 80%, 27%) | |
hsl(235, 100%, 27%) |
#343757 Color Usage In CSS
body { color: #343757; } p { color: rgb(52, 55, 87); } header { border-bottom:1px solid #343757; }