#3f9eff Color
Color Codes | |
---|---|
Hex Code | #3f9eff |
RGB Code | rgb(63, 158, 255) |
HSL Code | hsl(210, 100%, 62%) |
#3f9eff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(63, 158, 255); }
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(210, 100%, 62%); }
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 #3f9eff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(63, 158, 255, 10%) | #3f9eff1a | |
rgb(63, 158, 255, 20%) | #3f9eff33 | |
rgb(63, 158, 255, 40%) | #3f9eff4C | |
rgb(63, 158, 255, 60%) | #3f9eff99 | |
rgb(63, 158, 255, 80%) | #3f9effCC | |
rgb(63, 158, 255, 100%) | #3f9effFF |
Saturated and desaturated colors of #3f9eff
HSL Code | Preview |
---|---|
hsl(210, 10%, 62%) | |
hsl(210, 20%, 62%) | |
hsl(210, 40%, 62%) | |
hsl(210, 60%, 62%) | |
hsl(210, 80%, 62%) | |
hsl(210, 100%, 62%) |
#3f9eff Color Usage In CSS
body { color: #3f9eff; } p { color: rgb(63, 158, 255); } header { border-bottom:1px solid #3f9eff; }