#1d58ca Color
Color Codes | |
---|---|
Hex Code | #1d58ca |
RGB Code | rgb(29, 88, 202) |
HSL Code | hsl(220, 75%, 45%) |
#1d58ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(29, 88, 202); }
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, 75%, 45%); }
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 #1d58ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(29, 88, 202, 10%) | #1d58ca1a | |
rgb(29, 88, 202, 20%) | #1d58ca33 | |
rgb(29, 88, 202, 40%) | #1d58ca4C | |
rgb(29, 88, 202, 60%) | #1d58ca99 | |
rgb(29, 88, 202, 80%) | #1d58caCC | |
rgb(29, 88, 202, 100%) | #1d58caFF |
Saturated and desaturated colors of #1d58ca
HSL Code | Preview |
---|---|
hsl(220, 10%, 45%) | |
hsl(220, 20%, 45%) | |
hsl(220, 40%, 45%) | |
hsl(220, 60%, 45%) | |
hsl(220, 80%, 45%) | |
hsl(220, 100%, 45%) |
#1d58ca Color Usage In CSS
body { color: #1d58ca; } p { color: rgb(29, 88, 202); } header { border-bottom:1px solid #1d58ca; }