#010e7f Color
Color Codes | |
---|---|
Hex Code | #010e7f |
RGB Code | rgb(01, 14, 127) |
HSL Code | hsl(234, 98%, 25%) |
#010e7f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(01, 14, 127); }
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(234, 98%, 25%); }
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 #010e7f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(01, 14, 127, 10%) | #010e7f1a | |
rgb(01, 14, 127, 20%) | #010e7f33 | |
rgb(01, 14, 127, 40%) | #010e7f4C | |
rgb(01, 14, 127, 60%) | #010e7f99 | |
rgb(01, 14, 127, 80%) | #010e7fCC | |
rgb(01, 14, 127, 100%) | #010e7fFF |
Saturated and desaturated colors of #010e7f
HSL Code | Preview |
---|---|
hsl(234, 10%, 25%) | |
hsl(234, 20%, 25%) | |
hsl(234, 40%, 25%) | |
hsl(234, 60%, 25%) | |
hsl(234, 80%, 25%) | |
hsl(234, 100%, 25%) |
#010e7f Color Usage In CSS
body { color: #010e7f; } p { color: rgb(01, 14, 127); } header { border-bottom:1px solid #010e7f; }