#0e4a62 Color
Color Codes | |
---|---|
Hex Code | #0e4a62 |
RGB Code | rgb(14, 74, 98) |
HSL Code | hsl(197, 75%, 22%) |
#0e4a62 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(14, 74, 98); }
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(197, 75%, 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 #0e4a62
RGB Code | Hex Code | Preview |
---|---|---|
rgb(14, 74, 98, 10%) | #0e4a621a | |
rgb(14, 74, 98, 20%) | #0e4a6233 | |
rgb(14, 74, 98, 40%) | #0e4a624C | |
rgb(14, 74, 98, 60%) | #0e4a6299 | |
rgb(14, 74, 98, 80%) | #0e4a62CC | |
rgb(14, 74, 98, 100%) | #0e4a62FF |
Saturated and desaturated colors of #0e4a62
HSL Code | Preview |
---|---|
hsl(197, 10%, 22%) | |
hsl(197, 20%, 22%) | |
hsl(197, 40%, 22%) | |
hsl(197, 60%, 22%) | |
hsl(197, 80%, 22%) | |
hsl(197, 100%, 22%) |
#0e4a62 Color Usage In CSS
body { color: #0e4a62; } p { color: rgb(14, 74, 98); } header { border-bottom:1px solid #0e4a62; }