#2346af Color
Color Codes | |
---|---|
Hex Code | #2346af |
RGB Code | rgb(35, 70, 175) |
HSL Code | hsl(225, 67%, 41%) |
#2346af Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(35, 70, 175); }
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(225, 67%, 41%); }
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 #2346af
RGB Code | Hex Code | Preview |
---|---|---|
rgb(35, 70, 175, 10%) | #2346af1a | |
rgb(35, 70, 175, 20%) | #2346af33 | |
rgb(35, 70, 175, 40%) | #2346af4C | |
rgb(35, 70, 175, 60%) | #2346af99 | |
rgb(35, 70, 175, 80%) | #2346afCC | |
rgb(35, 70, 175, 100%) | #2346afFF |
Saturated and desaturated colors of #2346af
HSL Code | Preview |
---|---|
hsl(225, 10%, 41%) | |
hsl(225, 20%, 41%) | |
hsl(225, 40%, 41%) | |
hsl(225, 60%, 41%) | |
hsl(225, 80%, 41%) | |
hsl(225, 100%, 41%) |
#2346af Color Usage In CSS
body { color: #2346af; } p { color: rgb(35, 70, 175); } header { border-bottom:1px solid #2346af; }