#1852d0 Color
Color Codes | |
---|---|
Hex Code | #1852d0 |
RGB Code | rgb(24, 82, 208) |
HSL Code | hsl(221, 79%, 45%) |
#1852d0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(24, 82, 208); }
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, 79%, 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 #1852d0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(24, 82, 208, 10%) | #1852d01a | |
rgb(24, 82, 208, 20%) | #1852d033 | |
rgb(24, 82, 208, 40%) | #1852d04C | |
rgb(24, 82, 208, 60%) | #1852d099 | |
rgb(24, 82, 208, 80%) | #1852d0CC | |
rgb(24, 82, 208, 100%) | #1852d0FF |
Saturated and desaturated colors of #1852d0
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%) |
#1852d0 Color Usage In CSS
body { color: #1852d0; } p { color: rgb(24, 82, 208); } header { border-bottom:1px solid #1852d0; }