#1b4462 Color
Color Codes | |
---|---|
Hex Code | #1b4462 |
RGB Code | rgb(27, 68, 98) |
HSL Code | hsl(205, 57%, 25%) |
#1b4462 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 68, 98); }
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(205, 57%, 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 #1b4462
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 68, 98, 10%) | #1b44621a | |
rgb(27, 68, 98, 20%) | #1b446233 | |
rgb(27, 68, 98, 40%) | #1b44624C | |
rgb(27, 68, 98, 60%) | #1b446299 | |
rgb(27, 68, 98, 80%) | #1b4462CC | |
rgb(27, 68, 98, 100%) | #1b4462FF |
Saturated and desaturated colors of #1b4462
HSL Code | Preview |
---|---|
hsl(205, 10%, 25%) | |
hsl(205, 20%, 25%) | |
hsl(205, 40%, 25%) | |
hsl(205, 60%, 25%) | |
hsl(205, 80%, 25%) | |
hsl(205, 100%, 25%) |
#1b4462 Color Usage In CSS
body { color: #1b4462; } p { color: rgb(27, 68, 98); } header { border-bottom:1px solid #1b4462; }