#131d16 Color
Color Codes | |
---|---|
Hex Code | #131d16 |
RGB Code | rgb(19, 29, 22) |
HSL Code | hsl(138, 21%, 9%) |
#131d16 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(19, 29, 22); }
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(138, 21%, 9%); }
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 #131d16
RGB Code | Hex Code | Preview |
---|---|---|
rgb(19, 29, 22, 10%) | #131d161a | |
rgb(19, 29, 22, 20%) | #131d1633 | |
rgb(19, 29, 22, 40%) | #131d164C | |
rgb(19, 29, 22, 60%) | #131d1699 | |
rgb(19, 29, 22, 80%) | #131d16CC | |
rgb(19, 29, 22, 100%) | #131d16FF |
Saturated and desaturated colors of #131d16
HSL Code | Preview |
---|---|
hsl(138, 10%, 9%) | |
hsl(138, 20%, 9%) | |
hsl(138, 40%, 9%) | |
hsl(138, 60%, 9%) | |
hsl(138, 80%, 9%) | |
hsl(138, 100%, 9%) |
#131d16 Color Usage In CSS
body { color: #131d16; } p { color: rgb(19, 29, 22); } header { border-bottom:1px solid #131d16; }