#3d3b5c Color
Color Codes | |
---|---|
Hex Code | #3d3b5c |
RGB Code | rgb(61, 59, 92) |
HSL Code | hsl(244, 22%, 30%) |
#3d3b5c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(61, 59, 92); }
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, 22%, 30%); }
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 #3d3b5c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(61, 59, 92, 10%) | #3d3b5c1a | |
rgb(61, 59, 92, 20%) | #3d3b5c33 | |
rgb(61, 59, 92, 40%) | #3d3b5c4C | |
rgb(61, 59, 92, 60%) | #3d3b5c99 | |
rgb(61, 59, 92, 80%) | #3d3b5cCC | |
rgb(61, 59, 92, 100%) | #3d3b5cFF |
Saturated and desaturated colors of #3d3b5c
HSL Code | Preview |
---|---|
hsl(244, 10%, 30%) | |
hsl(244, 20%, 30%) | |
hsl(244, 40%, 30%) | |
hsl(244, 60%, 30%) | |
hsl(244, 80%, 30%) | |
hsl(244, 100%, 30%) |
#3d3b5c Color Usage In CSS
body { color: #3d3b5c; } p { color: rgb(61, 59, 92); } header { border-bottom:1px solid #3d3b5c; }