#040744 Color
Color Codes | |
---|---|
Hex Code | #040744 |
RGB Code | rgb(04, 07, 68) |
HSL Code | hsl(237, 89%, 14%) |
#040744 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(04, 07, 68); }
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(237, 89%, 14%); }
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 #040744
RGB Code | Hex Code | Preview |
---|---|---|
rgb(04, 07, 68, 10%) | #0407441a | |
rgb(04, 07, 68, 20%) | #04074433 | |
rgb(04, 07, 68, 40%) | #0407444C | |
rgb(04, 07, 68, 60%) | #04074499 | |
rgb(04, 07, 68, 80%) | #040744CC | |
rgb(04, 07, 68, 100%) | #040744FF |
Saturated and desaturated colors of #040744
HSL Code | Preview |
---|---|
hsl(237, 10%, 14%) | |
hsl(237, 20%, 14%) | |
hsl(237, 40%, 14%) | |
hsl(237, 60%, 14%) | |
hsl(237, 80%, 14%) | |
hsl(237, 100%, 14%) |
#040744 Color Usage In CSS
body { color: #040744; } p { color: rgb(04, 07, 68); } header { border-bottom:1px solid #040744; }