#1d2964 Color
Color Codes | |
---|---|
Hex Code | #1d2964 |
RGB Code | rgb(29, 41, 100) |
HSL Code | hsl(230, 55%, 25%) |
#1d2964 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(29, 41, 100); }
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(230, 55%, 25%); }
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 #1d2964
RGB Code | Hex Code | Preview |
---|---|---|
rgb(29, 41, 100, 10%) | #1d29641a | |
rgb(29, 41, 100, 20%) | #1d296433 | |
rgb(29, 41, 100, 40%) | #1d29644C | |
rgb(29, 41, 100, 60%) | #1d296499 | |
rgb(29, 41, 100, 80%) | #1d2964CC | |
rgb(29, 41, 100, 100%) | #1d2964FF |
Saturated and desaturated colors of #1d2964
HSL Code | Preview |
---|---|
hsl(230, 10%, 25%) | |
hsl(230, 20%, 25%) | |
hsl(230, 40%, 25%) | |
hsl(230, 60%, 25%) | |
hsl(230, 80%, 25%) | |
hsl(230, 100%, 25%) |
#1d2964 Color Usage In CSS
body { color: #1d2964; } p { color: rgb(29, 41, 100); } header { border-bottom:1px solid #1d2964; }