#1233ab Color
Color Codes | |
---|---|
Hex Code | #1233ab |
RGB Code | rgb(18, 51, 171) |
HSL Code | hsl(227, 81%, 37%) |
#1233ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 51, 171); }
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(227, 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 #1233ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 51, 171, 10%) | #1233ab1a | |
rgb(18, 51, 171, 20%) | #1233ab33 | |
rgb(18, 51, 171, 40%) | #1233ab4C | |
rgb(18, 51, 171, 60%) | #1233ab99 | |
rgb(18, 51, 171, 80%) | #1233abCC | |
rgb(18, 51, 171, 100%) | #1233abFF |
Saturated and desaturated colors of #1233ab
HSL Code | Preview |
---|---|
hsl(227, 10%, 37%) | |
hsl(227, 20%, 37%) | |
hsl(227, 40%, 37%) | |
hsl(227, 60%, 37%) | |
hsl(227, 80%, 37%) | |
hsl(227, 100%, 37%) |
#1233ab Color Usage In CSS
body { color: #1233ab; } p { color: rgb(18, 51, 171); } header { border-bottom:1px solid #1233ab; }