#1d1d14 Color
Color Codes | |
---|---|
Hex Code | #1d1d14 |
RGB Code | rgb(29, 29, 20) |
HSL Code | hsl(60, 18%, 10%) |
#1d1d14 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(29, 29, 20); }
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(60, 18%, 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 #1d1d14
RGB Code | Hex Code | Preview |
---|---|---|
rgb(29, 29, 20, 10%) | #1d1d141a | |
rgb(29, 29, 20, 20%) | #1d1d1433 | |
rgb(29, 29, 20, 40%) | #1d1d144C | |
rgb(29, 29, 20, 60%) | #1d1d1499 | |
rgb(29, 29, 20, 80%) | #1d1d14CC | |
rgb(29, 29, 20, 100%) | #1d1d14FF |
Saturated and desaturated colors of #1d1d14
HSL Code | Preview |
---|---|
hsl(60, 10%, 10%) | |
hsl(60, 20%, 10%) | |
hsl(60, 40%, 10%) | |
hsl(60, 60%, 10%) | |
hsl(60, 80%, 10%) | |
hsl(60, 100%, 10%) |
#1d1d14 Color Usage In CSS
body { color: #1d1d14; } p { color: rgb(29, 29, 20); } header { border-bottom:1px solid #1d1d14; }