#041b60 Color
Color Codes | |
---|---|
Hex Code | #041b60 |
RGB Code | rgb(04, 27, 96) |
HSL Code | hsl(225, 92%, 20%) |
#041b60 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(04, 27, 96); }
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, 92%, 20%); }
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 #041b60
RGB Code | Hex Code | Preview |
---|---|---|
rgb(04, 27, 96, 10%) | #041b601a | |
rgb(04, 27, 96, 20%) | #041b6033 | |
rgb(04, 27, 96, 40%) | #041b604C | |
rgb(04, 27, 96, 60%) | #041b6099 | |
rgb(04, 27, 96, 80%) | #041b60CC | |
rgb(04, 27, 96, 100%) | #041b60FF |
Saturated and desaturated colors of #041b60
HSL Code | Preview |
---|---|
hsl(225, 10%, 20%) | |
hsl(225, 20%, 20%) | |
hsl(225, 40%, 20%) | |
hsl(225, 60%, 20%) | |
hsl(225, 80%, 20%) | |
hsl(225, 100%, 20%) |
#041b60 Color Usage In CSS
body { color: #041b60; } p { color: rgb(04, 27, 96); } header { border-bottom:1px solid #041b60; }