#1945f3 Color
Color Codes | |
---|---|
Hex Code | #1945f3 |
RGB Code | rgb(25, 69, 243) |
HSL Code | hsl(228, 90%, 53%) |
#1945f3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(25, 69, 243); }
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(228, 90%, 53%); }
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 #1945f3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(25, 69, 243, 10%) | #1945f31a | |
rgb(25, 69, 243, 20%) | #1945f333 | |
rgb(25, 69, 243, 40%) | #1945f34C | |
rgb(25, 69, 243, 60%) | #1945f399 | |
rgb(25, 69, 243, 80%) | #1945f3CC | |
rgb(25, 69, 243, 100%) | #1945f3FF |
Saturated and desaturated colors of #1945f3
HSL Code | Preview |
---|---|
hsl(228, 10%, 53%) | |
hsl(228, 20%, 53%) | |
hsl(228, 40%, 53%) | |
hsl(228, 60%, 53%) | |
hsl(228, 80%, 53%) | |
hsl(228, 100%, 53%) |
#1945f3 Color Usage In CSS
body { color: #1945f3; } p { color: rgb(25, 69, 243); } header { border-bottom:1px solid #1945f3; }