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