#2958b4 Color
Color Codes | |
---|---|
Hex Code | #2958b4 |
RGB Code | rgb(41, 88, 180) |
HSL Code | hsl(220, 63%, 43%) |
#2958b4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(41, 88, 180); }
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(220, 63%, 43%); }
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 #2958b4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(41, 88, 180, 10%) | #2958b41a | |
rgb(41, 88, 180, 20%) | #2958b433 | |
rgb(41, 88, 180, 40%) | #2958b44C | |
rgb(41, 88, 180, 60%) | #2958b499 | |
rgb(41, 88, 180, 80%) | #2958b4CC | |
rgb(41, 88, 180, 100%) | #2958b4FF |
Saturated and desaturated colors of #2958b4
HSL Code | Preview |
---|---|
hsl(220, 10%, 43%) | |
hsl(220, 20%, 43%) | |
hsl(220, 40%, 43%) | |
hsl(220, 60%, 43%) | |
hsl(220, 80%, 43%) | |
hsl(220, 100%, 43%) |
#2958b4 Color Usage In CSS
body { color: #2958b4; } p { color: rgb(41, 88, 180); } header { border-bottom:1px solid #2958b4; }