#1d2086 Color
Color Codes | |
---|---|
Hex Code | #1d2086 |
RGB Code | rgb(29, 32, 134) |
HSL Code | hsl(238, 64%, 32%) |
#1d2086 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(29, 32, 134); }
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(238, 64%, 32%); }
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 #1d2086
RGB Code | Hex Code | Preview |
---|---|---|
rgb(29, 32, 134, 10%) | #1d20861a | |
rgb(29, 32, 134, 20%) | #1d208633 | |
rgb(29, 32, 134, 40%) | #1d20864C | |
rgb(29, 32, 134, 60%) | #1d208699 | |
rgb(29, 32, 134, 80%) | #1d2086CC | |
rgb(29, 32, 134, 100%) | #1d2086FF |
Saturated and desaturated colors of #1d2086
HSL Code | Preview |
---|---|
hsl(238, 10%, 32%) | |
hsl(238, 20%, 32%) | |
hsl(238, 40%, 32%) | |
hsl(238, 60%, 32%) | |
hsl(238, 80%, 32%) | |
hsl(238, 100%, 32%) |
#1d2086 Color Usage In CSS
body { color: #1d2086; } p { color: rgb(29, 32, 134); } header { border-bottom:1px solid #1d2086; }