#1267f6 Color
Color Codes | |
---|---|
Hex Code | #1267f6 |
RGB Code | rgb(18, 103, 246) |
HSL Code | hsl(218, 93%, 52%) |
#1267f6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 103, 246); }
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(218, 93%, 52%); }
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 #1267f6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 103, 246, 10%) | #1267f61a | |
rgb(18, 103, 246, 20%) | #1267f633 | |
rgb(18, 103, 246, 40%) | #1267f64C | |
rgb(18, 103, 246, 60%) | #1267f699 | |
rgb(18, 103, 246, 80%) | #1267f6CC | |
rgb(18, 103, 246, 100%) | #1267f6FF |
Saturated and desaturated colors of #1267f6
HSL Code | Preview |
---|---|
hsl(218, 10%, 52%) | |
hsl(218, 20%, 52%) | |
hsl(218, 40%, 52%) | |
hsl(218, 60%, 52%) | |
hsl(218, 80%, 52%) | |
hsl(218, 100%, 52%) |
#1267f6 Color Usage In CSS
body { color: #1267f6; } p { color: rgb(18, 103, 246); } header { border-bottom:1px solid #1267f6; }