#100216 Color
Color Codes | |
---|---|
Hex Code | #100216 |
RGB Code | rgb(16, 02, 22) |
HSL Code | hsl(282, 83%, 5%) |
#100216 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(16, 02, 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(282, 83%, 5%); }
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 #100216
RGB Code | Hex Code | Preview |
---|---|---|
rgb(16, 02, 22, 10%) | #1002161a | |
rgb(16, 02, 22, 20%) | #10021633 | |
rgb(16, 02, 22, 40%) | #1002164C | |
rgb(16, 02, 22, 60%) | #10021699 | |
rgb(16, 02, 22, 80%) | #100216CC | |
rgb(16, 02, 22, 100%) | #100216FF |
Saturated and desaturated colors of #100216
HSL Code | Preview |
---|---|
hsl(282, 10%, 5%) | |
hsl(282, 20%, 5%) | |
hsl(282, 40%, 5%) | |
hsl(282, 60%, 5%) | |
hsl(282, 80%, 5%) | |
hsl(282, 100%, 5%) |
#100216 Color Usage In CSS
body { color: #100216; } p { color: rgb(16, 02, 22); } header { border-bottom:1px solid #100216; }