#1a53ca Color
Color Codes | |
---|---|
Hex Code | #1a53ca |
RGB Code | rgb(26, 83, 202) |
HSL Code | hsl(221, 77%, 45%) |
#1a53ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(26, 83, 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(221, 77%, 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 #1a53ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(26, 83, 202, 10%) | #1a53ca1a | |
rgb(26, 83, 202, 20%) | #1a53ca33 | |
rgb(26, 83, 202, 40%) | #1a53ca4C | |
rgb(26, 83, 202, 60%) | #1a53ca99 | |
rgb(26, 83, 202, 80%) | #1a53caCC | |
rgb(26, 83, 202, 100%) | #1a53caFF |
Saturated and desaturated colors of #1a53ca
HSL Code | Preview |
---|---|
hsl(221, 10%, 45%) | |
hsl(221, 20%, 45%) | |
hsl(221, 40%, 45%) | |
hsl(221, 60%, 45%) | |
hsl(221, 80%, 45%) | |
hsl(221, 100%, 45%) |
#1a53ca Color Usage In CSS
body { color: #1a53ca; } p { color: rgb(26, 83, 202); } header { border-bottom:1px solid #1a53ca; }