#2b3e6b Color
Color Codes | |
---|---|
Hex Code | #2b3e6b |
RGB Code | rgb(43, 62, 107) |
HSL Code | hsl(222, 43%, 29%) |
#2b3e6b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(43, 62, 107); }
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(222, 43%, 29%); }
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 #2b3e6b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(43, 62, 107, 10%) | #2b3e6b1a | |
rgb(43, 62, 107, 20%) | #2b3e6b33 | |
rgb(43, 62, 107, 40%) | #2b3e6b4C | |
rgb(43, 62, 107, 60%) | #2b3e6b99 | |
rgb(43, 62, 107, 80%) | #2b3e6bCC | |
rgb(43, 62, 107, 100%) | #2b3e6bFF |
Saturated and desaturated colors of #2b3e6b
HSL Code | Preview |
---|---|
hsl(222, 10%, 29%) | |
hsl(222, 20%, 29%) | |
hsl(222, 40%, 29%) | |
hsl(222, 60%, 29%) | |
hsl(222, 80%, 29%) | |
hsl(222, 100%, 29%) |
#2b3e6b Color Usage In CSS
body { color: #2b3e6b; } p { color: rgb(43, 62, 107); } header { border-bottom:1px solid #2b3e6b; }