#3f7ea9 Color
Color Codes | |
---|---|
Hex Code | #3f7ea9 |
RGB Code | rgb(63, 126, 169) |
HSL Code | hsl(204, 46%, 45%) |
#3f7ea9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(63, 126, 169); }
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(204, 46%, 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 #3f7ea9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(63, 126, 169, 10%) | #3f7ea91a | |
rgb(63, 126, 169, 20%) | #3f7ea933 | |
rgb(63, 126, 169, 40%) | #3f7ea94C | |
rgb(63, 126, 169, 60%) | #3f7ea999 | |
rgb(63, 126, 169, 80%) | #3f7ea9CC | |
rgb(63, 126, 169, 100%) | #3f7ea9FF |
Saturated and desaturated colors of #3f7ea9
HSL Code | Preview |
---|---|
hsl(204, 10%, 45%) | |
hsl(204, 20%, 45%) | |
hsl(204, 40%, 45%) | |
hsl(204, 60%, 45%) | |
hsl(204, 80%, 45%) | |
hsl(204, 100%, 45%) |
#3f7ea9 Color Usage In CSS
body { color: #3f7ea9; } p { color: rgb(63, 126, 169); } header { border-bottom:1px solid #3f7ea9; }