#121ca7 Color
Color Codes | |
---|---|
Hex Code | #121ca7 |
RGB Code | rgb(18, 28, 167) |
HSL Code | hsl(236, 81%, 36%) |
#121ca7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 28, 167); }
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(236, 81%, 36%); }
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 #121ca7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 28, 167, 10%) | #121ca71a | |
rgb(18, 28, 167, 20%) | #121ca733 | |
rgb(18, 28, 167, 40%) | #121ca74C | |
rgb(18, 28, 167, 60%) | #121ca799 | |
rgb(18, 28, 167, 80%) | #121ca7CC | |
rgb(18, 28, 167, 100%) | #121ca7FF |
Saturated and desaturated colors of #121ca7
HSL Code | Preview |
---|---|
hsl(236, 10%, 36%) | |
hsl(236, 20%, 36%) | |
hsl(236, 40%, 36%) | |
hsl(236, 60%, 36%) | |
hsl(236, 80%, 36%) | |
hsl(236, 100%, 36%) |
#121ca7 Color Usage In CSS
body { color: #121ca7; } p { color: rgb(18, 28, 167); } header { border-bottom:1px solid #121ca7; }