#3d7bfe Color
Color Codes | |
---|---|
Hex Code | #3d7bfe |
RGB Code | rgb(61, 123, 254) |
HSL Code | hsl(221, 99%, 62%) |
#3d7bfe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(61, 123, 254); }
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, 99%, 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 #3d7bfe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(61, 123, 254, 10%) | #3d7bfe1a | |
rgb(61, 123, 254, 20%) | #3d7bfe33 | |
rgb(61, 123, 254, 40%) | #3d7bfe4C | |
rgb(61, 123, 254, 60%) | #3d7bfe99 | |
rgb(61, 123, 254, 80%) | #3d7bfeCC | |
rgb(61, 123, 254, 100%) | #3d7bfeFF |
Saturated and desaturated colors of #3d7bfe
HSL Code | Preview |
---|---|
hsl(221, 10%, 62%) | |
hsl(221, 20%, 62%) | |
hsl(221, 40%, 62%) | |
hsl(221, 60%, 62%) | |
hsl(221, 80%, 62%) | |
hsl(221, 100%, 62%) |
#3d7bfe Color Usage In CSS
body { color: #3d7bfe; } p { color: rgb(61, 123, 254); } header { border-bottom:1px solid #3d7bfe; }