#3c64ab Color
Color Codes | |
---|---|
Hex Code | #3c64ab |
RGB Code | rgb(60, 100, 171) |
HSL Code | hsl(218, 48%, 45%) |
#3c64ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(60, 100, 171); }
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(218, 48%, 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 #3c64ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(60, 100, 171, 10%) | #3c64ab1a | |
rgb(60, 100, 171, 20%) | #3c64ab33 | |
rgb(60, 100, 171, 40%) | #3c64ab4C | |
rgb(60, 100, 171, 60%) | #3c64ab99 | |
rgb(60, 100, 171, 80%) | #3c64abCC | |
rgb(60, 100, 171, 100%) | #3c64abFF |
Saturated and desaturated colors of #3c64ab
HSL Code | Preview |
---|---|
hsl(218, 10%, 45%) | |
hsl(218, 20%, 45%) | |
hsl(218, 40%, 45%) | |
hsl(218, 60%, 45%) | |
hsl(218, 80%, 45%) | |
hsl(218, 100%, 45%) |
#3c64ab Color Usage In CSS
body { color: #3c64ab; } p { color: rgb(60, 100, 171); } header { border-bottom:1px solid #3c64ab; }