#46263b Color
Color Codes | |
---|---|
Hex Code | #46263b |
RGB Code | rgb(70, 38, 59) |
HSL Code | hsl(321, 30%, 21%) |
#46263b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(70, 38, 59); }
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(321, 30%, 21%); }
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 #46263b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(70, 38, 59, 10%) | #46263b1a | |
rgb(70, 38, 59, 20%) | #46263b33 | |
rgb(70, 38, 59, 40%) | #46263b4C | |
rgb(70, 38, 59, 60%) | #46263b99 | |
rgb(70, 38, 59, 80%) | #46263bCC | |
rgb(70, 38, 59, 100%) | #46263bFF |
Saturated and desaturated colors of #46263b
HSL Code | Preview |
---|---|
hsl(321, 10%, 21%) | |
hsl(321, 20%, 21%) | |
hsl(321, 40%, 21%) | |
hsl(321, 60%, 21%) | |
hsl(321, 80%, 21%) | |
hsl(321, 100%, 21%) |
#46263b Color Usage In CSS
body { color: #46263b; } p { color: rgb(70, 38, 59); } header { border-bottom:1px solid #46263b; }