#312b04 Color
Color Codes | |
---|---|
Hex Code | #312b04 |
RGB Code | rgb(49, 43, 04) |
HSL Code | hsl(52, 85%, 10%) |
#312b04 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(49, 43, 04); }
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(52, 85%, 10%); }
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 #312b04
RGB Code | Hex Code | Preview |
---|---|---|
rgb(49, 43, 04, 10%) | #312b041a | |
rgb(49, 43, 04, 20%) | #312b0433 | |
rgb(49, 43, 04, 40%) | #312b044C | |
rgb(49, 43, 04, 60%) | #312b0499 | |
rgb(49, 43, 04, 80%) | #312b04CC | |
rgb(49, 43, 04, 100%) | #312b04FF |
Saturated and desaturated colors of #312b04
HSL Code | Preview |
---|---|
hsl(52, 10%, 10%) | |
hsl(52, 20%, 10%) | |
hsl(52, 40%, 10%) | |
hsl(52, 60%, 10%) | |
hsl(52, 80%, 10%) | |
hsl(52, 100%, 10%) |
#312b04 Color Usage In CSS
body { color: #312b04; } p { color: rgb(49, 43, 04); } header { border-bottom:1px solid #312b04; }