#1f4434 Color
Color Codes | |
---|---|
Hex Code | #1f4434 |
RGB Code | rgb(31, 68, 52) |
HSL Code | hsl(154, 37%, 19%) |
#1f4434 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(31, 68, 52); }
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(154, 37%, 19%); }
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 #1f4434
RGB Code | Hex Code | Preview |
---|---|---|
rgb(31, 68, 52, 10%) | #1f44341a | |
rgb(31, 68, 52, 20%) | #1f443433 | |
rgb(31, 68, 52, 40%) | #1f44344C | |
rgb(31, 68, 52, 60%) | #1f443499 | |
rgb(31, 68, 52, 80%) | #1f4434CC | |
rgb(31, 68, 52, 100%) | #1f4434FF |
Saturated and desaturated colors of #1f4434
HSL Code | Preview |
---|---|
hsl(154, 10%, 19%) | |
hsl(154, 20%, 19%) | |
hsl(154, 40%, 19%) | |
hsl(154, 60%, 19%) | |
hsl(154, 80%, 19%) | |
hsl(154, 100%, 19%) |
#1f4434 Color Usage In CSS
body { color: #1f4434; } p { color: rgb(31, 68, 52); } header { border-bottom:1px solid #1f4434; }