#2b599c Color
Color Codes | |
---|---|
Hex Code | #2b599c |
RGB Code | rgb(43, 89, 156) |
HSL Code | hsl(216, 57%, 39%) |
#2b599c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(43, 89, 156); }
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(216, 57%, 39%); }
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 #2b599c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(43, 89, 156, 10%) | #2b599c1a | |
rgb(43, 89, 156, 20%) | #2b599c33 | |
rgb(43, 89, 156, 40%) | #2b599c4C | |
rgb(43, 89, 156, 60%) | #2b599c99 | |
rgb(43, 89, 156, 80%) | #2b599cCC | |
rgb(43, 89, 156, 100%) | #2b599cFF |
Saturated and desaturated colors of #2b599c
HSL Code | Preview |
---|---|
hsl(216, 10%, 39%) | |
hsl(216, 20%, 39%) | |
hsl(216, 40%, 39%) | |
hsl(216, 60%, 39%) | |
hsl(216, 80%, 39%) | |
hsl(216, 100%, 39%) |
#2b599c Color Usage In CSS
body { color: #2b599c; } p { color: rgb(43, 89, 156); } header { border-bottom:1px solid #2b599c; }