#1b2126 Color
Color Codes | |
---|---|
Hex Code | #1b2126 |
RGB Code | rgb(27, 33, 38) |
HSL Code | hsl(207, 17%, 13%) |
#1b2126 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 33, 38); }
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(207, 17%, 13%); }
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 #1b2126
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 33, 38, 10%) | #1b21261a | |
rgb(27, 33, 38, 20%) | #1b212633 | |
rgb(27, 33, 38, 40%) | #1b21264C | |
rgb(27, 33, 38, 60%) | #1b212699 | |
rgb(27, 33, 38, 80%) | #1b2126CC | |
rgb(27, 33, 38, 100%) | #1b2126FF |
Saturated and desaturated colors of #1b2126
HSL Code | Preview |
---|---|
hsl(207, 10%, 13%) | |
hsl(207, 20%, 13%) | |
hsl(207, 40%, 13%) | |
hsl(207, 60%, 13%) | |
hsl(207, 80%, 13%) | |
hsl(207, 100%, 13%) |
#1b2126 Color Usage In CSS
body { color: #1b2126; } p { color: rgb(27, 33, 38); } header { border-bottom:1px solid #1b2126; }