#124df1 Color
Color Codes | |
---|---|
Hex Code | #124df1 |
RGB Code | rgb(18, 77, 241) |
HSL Code | hsl(224, 89%, 51%) |
#124df1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 77, 241); }
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(224, 89%, 51%); }
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 #124df1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 77, 241, 10%) | #124df11a | |
rgb(18, 77, 241, 20%) | #124df133 | |
rgb(18, 77, 241, 40%) | #124df14C | |
rgb(18, 77, 241, 60%) | #124df199 | |
rgb(18, 77, 241, 80%) | #124df1CC | |
rgb(18, 77, 241, 100%) | #124df1FF |
Saturated and desaturated colors of #124df1
HSL Code | Preview |
---|---|
hsl(224, 10%, 51%) | |
hsl(224, 20%, 51%) | |
hsl(224, 40%, 51%) | |
hsl(224, 60%, 51%) | |
hsl(224, 80%, 51%) | |
hsl(224, 100%, 51%) |
#124df1 Color Usage In CSS
body { color: #124df1; } p { color: rgb(18, 77, 241); } header { border-bottom:1px solid #124df1; }