#1a1320 Color
Color Codes | |
---|---|
Hex Code | #1a1320 |
RGB Code | rgb(26, 19, 32) |
HSL Code | hsl(272, 25%, 10%) |
#1a1320 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(26, 19, 32); }
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(272, 25%, 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 #1a1320
RGB Code | Hex Code | Preview |
---|---|---|
rgb(26, 19, 32, 10%) | #1a13201a | |
rgb(26, 19, 32, 20%) | #1a132033 | |
rgb(26, 19, 32, 40%) | #1a13204C | |
rgb(26, 19, 32, 60%) | #1a132099 | |
rgb(26, 19, 32, 80%) | #1a1320CC | |
rgb(26, 19, 32, 100%) | #1a1320FF |
Saturated and desaturated colors of #1a1320
HSL Code | Preview |
---|---|
hsl(272, 10%, 10%) | |
hsl(272, 20%, 10%) | |
hsl(272, 40%, 10%) | |
hsl(272, 60%, 10%) | |
hsl(272, 80%, 10%) | |
hsl(272, 100%, 10%) |
#1a1320 Color Usage In CSS
body { color: #1a1320; } p { color: rgb(26, 19, 32); } header { border-bottom:1px solid #1a1320; }