#3e7def Color
Color Codes | |
---|---|
Hex Code | #3e7def |
RGB Code | rgb(62, 125, 239) |
HSL Code | hsl(219, 85%, 59%) |
#3e7def Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 125, 239); }
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(219, 85%, 59%); }
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 #3e7def
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 125, 239, 10%) | #3e7def1a | |
rgb(62, 125, 239, 20%) | #3e7def33 | |
rgb(62, 125, 239, 40%) | #3e7def4C | |
rgb(62, 125, 239, 60%) | #3e7def99 | |
rgb(62, 125, 239, 80%) | #3e7defCC | |
rgb(62, 125, 239, 100%) | #3e7defFF |
Saturated and desaturated colors of #3e7def
HSL Code | Preview |
---|---|
hsl(219, 10%, 59%) | |
hsl(219, 20%, 59%) | |
hsl(219, 40%, 59%) | |
hsl(219, 60%, 59%) | |
hsl(219, 80%, 59%) | |
hsl(219, 100%, 59%) |
#3e7def Color Usage In CSS
body { color: #3e7def; } p { color: rgb(62, 125, 239); } header { border-bottom:1px solid #3e7def; }