#100e1f Color
Color Codes | |
---|---|
Hex Code | #100e1f |
RGB Code | rgb(16, 14, 31) |
HSL Code | hsl(247, 38%, 9%) |
#100e1f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(16, 14, 31); }
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(247, 38%, 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 #100e1f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(16, 14, 31, 10%) | #100e1f1a | |
rgb(16, 14, 31, 20%) | #100e1f33 | |
rgb(16, 14, 31, 40%) | #100e1f4C | |
rgb(16, 14, 31, 60%) | #100e1f99 | |
rgb(16, 14, 31, 80%) | #100e1fCC | |
rgb(16, 14, 31, 100%) | #100e1fFF |
Saturated and desaturated colors of #100e1f
HSL Code | Preview |
---|---|
hsl(247, 10%, 9%) | |
hsl(247, 20%, 9%) | |
hsl(247, 40%, 9%) | |
hsl(247, 60%, 9%) | |
hsl(247, 80%, 9%) | |
hsl(247, 100%, 9%) |
#100e1f Color Usage In CSS
body { color: #100e1f; } p { color: rgb(16, 14, 31); } header { border-bottom:1px solid #100e1f; }