#1145df Color
Color Codes | |
---|---|
Hex Code | #1145df |
RGB Code | rgb(17, 69, 223) |
HSL Code | hsl(225, 86%, 47%) |
#1145df Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(17, 69, 223); }
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(225, 86%, 47%); }
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 #1145df
RGB Code | Hex Code | Preview |
---|---|---|
rgb(17, 69, 223, 10%) | #1145df1a | |
rgb(17, 69, 223, 20%) | #1145df33 | |
rgb(17, 69, 223, 40%) | #1145df4C | |
rgb(17, 69, 223, 60%) | #1145df99 | |
rgb(17, 69, 223, 80%) | #1145dfCC | |
rgb(17, 69, 223, 100%) | #1145dfFF |
Saturated and desaturated colors of #1145df
HSL Code | Preview |
---|---|
hsl(225, 10%, 47%) | |
hsl(225, 20%, 47%) | |
hsl(225, 40%, 47%) | |
hsl(225, 60%, 47%) | |
hsl(225, 80%, 47%) | |
hsl(225, 100%, 47%) |
#1145df Color Usage In CSS
body { color: #1145df; } p { color: rgb(17, 69, 223); } header { border-bottom:1px solid #1145df; }