#42d9f8 Color
Color Codes | |
---|---|
Hex Code | #42d9f8 |
RGB Code | rgb(66, 217, 248) |
HSL Code | hsl(190, 93%, 62%) |
#42d9f8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(66, 217, 248); }
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(190, 93%, 62%); }
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 #42d9f8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(66, 217, 248, 10%) | #42d9f81a | |
rgb(66, 217, 248, 20%) | #42d9f833 | |
rgb(66, 217, 248, 40%) | #42d9f84C | |
rgb(66, 217, 248, 60%) | #42d9f899 | |
rgb(66, 217, 248, 80%) | #42d9f8CC | |
rgb(66, 217, 248, 100%) | #42d9f8FF |
Saturated and desaturated colors of #42d9f8
HSL Code | Preview |
---|---|
hsl(190, 10%, 62%) | |
hsl(190, 20%, 62%) | |
hsl(190, 40%, 62%) | |
hsl(190, 60%, 62%) | |
hsl(190, 80%, 62%) | |
hsl(190, 100%, 62%) |
#42d9f8 Color Usage In CSS
body { color: #42d9f8; } p { color: rgb(66, 217, 248); } header { border-bottom:1px solid #42d9f8; }