#12426d Color
Color Codes | |
---|---|
Hex Code | #12426d |
RGB Code | rgb(18, 66, 109) |
HSL Code | hsl(208, 72%, 25%) |
#12426d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 66, 109); }
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(208, 72%, 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 #12426d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 66, 109, 10%) | #12426d1a | |
rgb(18, 66, 109, 20%) | #12426d33 | |
rgb(18, 66, 109, 40%) | #12426d4C | |
rgb(18, 66, 109, 60%) | #12426d99 | |
rgb(18, 66, 109, 80%) | #12426dCC | |
rgb(18, 66, 109, 100%) | #12426dFF |
Saturated and desaturated colors of #12426d
HSL Code | Preview |
---|---|
hsl(208, 10%, 25%) | |
hsl(208, 20%, 25%) | |
hsl(208, 40%, 25%) | |
hsl(208, 60%, 25%) | |
hsl(208, 80%, 25%) | |
hsl(208, 100%, 25%) |
#12426d Color Usage In CSS
body { color: #12426d; } p { color: rgb(18, 66, 109); } header { border-bottom:1px solid #12426d; }