#004aea Color
Color Codes | |
---|---|
Hex Code | #004aea |
RGB Code | rgb(00, 74, 234) |
HSL Code | hsl(221, 100%, 46%) |
#004aea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(00, 74, 234); }
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(221, 100%, 46%); }
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 #004aea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(00, 74, 234, 10%) | #004aea1a | |
rgb(00, 74, 234, 20%) | #004aea33 | |
rgb(00, 74, 234, 40%) | #004aea4C | |
rgb(00, 74, 234, 60%) | #004aea99 | |
rgb(00, 74, 234, 80%) | #004aeaCC | |
rgb(00, 74, 234, 100%) | #004aeaFF |
Saturated and desaturated colors of #004aea
HSL Code | Preview |
---|---|
hsl(221, 10%, 46%) | |
hsl(221, 20%, 46%) | |
hsl(221, 40%, 46%) | |
hsl(221, 60%, 46%) | |
hsl(221, 80%, 46%) | |
hsl(221, 100%, 46%) |
#004aea Color Usage In CSS
body { color: #004aea; } p { color: rgb(00, 74, 234); } header { border-bottom:1px solid #004aea; }