#41313f Color
Color Codes | |
---|---|
Hex Code | #41313f |
RGB Code | rgb(65, 49, 63) |
HSL Code | hsl(308, 14%, 22%) |
#41313f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(65, 49, 63); }
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(308, 14%, 22%); }
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 #41313f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(65, 49, 63, 10%) | #41313f1a | |
rgb(65, 49, 63, 20%) | #41313f33 | |
rgb(65, 49, 63, 40%) | #41313f4C | |
rgb(65, 49, 63, 60%) | #41313f99 | |
rgb(65, 49, 63, 80%) | #41313fCC | |
rgb(65, 49, 63, 100%) | #41313fFF |
Saturated and desaturated colors of #41313f
HSL Code | Preview |
---|---|
hsl(308, 10%, 22%) | |
hsl(308, 20%, 22%) | |
hsl(308, 40%, 22%) | |
hsl(308, 60%, 22%) | |
hsl(308, 80%, 22%) | |
hsl(308, 100%, 22%) |
#41313f Color Usage In CSS
body { color: #41313f; } p { color: rgb(65, 49, 63); } header { border-bottom:1px solid #41313f; }