#3b122f Color
Color Codes | |
---|---|
Hex Code | #3b122f |
RGB Code | rgb(59, 18, 47) |
HSL Code | hsl(318, 53%, 15%) |
#3b122f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(59, 18, 47); }
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(318, 53%, 15%); }
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 #3b122f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(59, 18, 47, 10%) | #3b122f1a | |
rgb(59, 18, 47, 20%) | #3b122f33 | |
rgb(59, 18, 47, 40%) | #3b122f4C | |
rgb(59, 18, 47, 60%) | #3b122f99 | |
rgb(59, 18, 47, 80%) | #3b122fCC | |
rgb(59, 18, 47, 100%) | #3b122fFF |
Saturated and desaturated colors of #3b122f
HSL Code | Preview |
---|---|
hsl(318, 10%, 15%) | |
hsl(318, 20%, 15%) | |
hsl(318, 40%, 15%) | |
hsl(318, 60%, 15%) | |
hsl(318, 80%, 15%) | |
hsl(318, 100%, 15%) |
#3b122f Color Usage In CSS
body { color: #3b122f; } p { color: rgb(59, 18, 47); } header { border-bottom:1px solid #3b122f; }