#140968 Color
Color Codes | |
---|---|
Hex Code | #140968 |
RGB Code | rgb(20, 09, 104) |
HSL Code | hsl(247, 84%, 22%) |
#140968 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(20, 09, 104); }
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(247, 84%, 22%); }
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 #140968
RGB Code | Hex Code | Preview |
---|---|---|
rgb(20, 09, 104, 10%) | #1409681a | |
rgb(20, 09, 104, 20%) | #14096833 | |
rgb(20, 09, 104, 40%) | #1409684C | |
rgb(20, 09, 104, 60%) | #14096899 | |
rgb(20, 09, 104, 80%) | #140968CC | |
rgb(20, 09, 104, 100%) | #140968FF |
Saturated and desaturated colors of #140968
HSL Code | Preview |
---|---|
hsl(247, 10%, 22%) | |
hsl(247, 20%, 22%) | |
hsl(247, 40%, 22%) | |
hsl(247, 60%, 22%) | |
hsl(247, 80%, 22%) | |
hsl(247, 100%, 22%) |
#140968 Color Usage In CSS
body { color: #140968; } p { color: rgb(20, 09, 104); } header { border-bottom:1px solid #140968; }