#1272ad Color
Color Codes | |
---|---|
Hex Code | #1272ad |
RGB Code | rgb(18, 114, 173) |
HSL Code | hsl(203, 81%, 37%) |
#1272ad Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 114, 173); }
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(203, 81%, 37%); }
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 #1272ad
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 114, 173, 10%) | #1272ad1a | |
rgb(18, 114, 173, 20%) | #1272ad33 | |
rgb(18, 114, 173, 40%) | #1272ad4C | |
rgb(18, 114, 173, 60%) | #1272ad99 | |
rgb(18, 114, 173, 80%) | #1272adCC | |
rgb(18, 114, 173, 100%) | #1272adFF |
Saturated and desaturated colors of #1272ad
HSL Code | Preview |
---|---|
hsl(203, 10%, 37%) | |
hsl(203, 20%, 37%) | |
hsl(203, 40%, 37%) | |
hsl(203, 60%, 37%) | |
hsl(203, 80%, 37%) | |
hsl(203, 100%, 37%) |
#1272ad Color Usage In CSS
body { color: #1272ad; } p { color: rgb(18, 114, 173); } header { border-bottom:1px solid #1272ad; }