#418dc3 Color
Color Codes | |
---|---|
Hex Code | #418dc3 |
RGB Code | rgb(65, 141, 195) |
HSL Code | hsl(205, 52%, 51%) |
#418dc3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(65, 141, 195); }
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(205, 52%, 51%); }
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 #418dc3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(65, 141, 195, 10%) | #418dc31a | |
rgb(65, 141, 195, 20%) | #418dc333 | |
rgb(65, 141, 195, 40%) | #418dc34C | |
rgb(65, 141, 195, 60%) | #418dc399 | |
rgb(65, 141, 195, 80%) | #418dc3CC | |
rgb(65, 141, 195, 100%) | #418dc3FF |
Saturated and desaturated colors of #418dc3
HSL Code | Preview |
---|---|
hsl(205, 10%, 51%) | |
hsl(205, 20%, 51%) | |
hsl(205, 40%, 51%) | |
hsl(205, 60%, 51%) | |
hsl(205, 80%, 51%) | |
hsl(205, 100%, 51%) |
#418dc3 Color Usage In CSS
body { color: #418dc3; } p { color: rgb(65, 141, 195); } header { border-bottom:1px solid #418dc3; }