#1f3244 Color
Color Codes | |
---|---|
Hex Code | #1f3244 |
RGB Code | rgb(31, 50, 68) |
HSL Code | hsl(209, 37%, 19%) |
#1f3244 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(31, 50, 68); }
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(209, 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 #1f3244
RGB Code | Hex Code | Preview |
---|---|---|
rgb(31, 50, 68, 10%) | #1f32441a | |
rgb(31, 50, 68, 20%) | #1f324433 | |
rgb(31, 50, 68, 40%) | #1f32444C | |
rgb(31, 50, 68, 60%) | #1f324499 | |
rgb(31, 50, 68, 80%) | #1f3244CC | |
rgb(31, 50, 68, 100%) | #1f3244FF |
Saturated and desaturated colors of #1f3244
HSL Code | Preview |
---|---|
hsl(209, 10%, 19%) | |
hsl(209, 20%, 19%) | |
hsl(209, 40%, 19%) | |
hsl(209, 60%, 19%) | |
hsl(209, 80%, 19%) | |
hsl(209, 100%, 19%) |
#1f3244 Color Usage In CSS
body { color: #1f3244; } p { color: rgb(31, 50, 68); } header { border-bottom:1px solid #1f3244; }