#1e9dfa Color
Color Codes | |
---|---|
Hex Code | #1e9dfa |
RGB Code | rgb(30, 157, 250) |
HSL Code | hsl(205, 96%, 55%) |
#1e9dfa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(30, 157, 250); }
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, 96%, 55%); }
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 #1e9dfa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(30, 157, 250, 10%) | #1e9dfa1a | |
rgb(30, 157, 250, 20%) | #1e9dfa33 | |
rgb(30, 157, 250, 40%) | #1e9dfa4C | |
rgb(30, 157, 250, 60%) | #1e9dfa99 | |
rgb(30, 157, 250, 80%) | #1e9dfaCC | |
rgb(30, 157, 250, 100%) | #1e9dfaFF |
Saturated and desaturated colors of #1e9dfa
HSL Code | Preview |
---|---|
hsl(205, 10%, 55%) | |
hsl(205, 20%, 55%) | |
hsl(205, 40%, 55%) | |
hsl(205, 60%, 55%) | |
hsl(205, 80%, 55%) | |
hsl(205, 100%, 55%) |
#1e9dfa Color Usage In CSS
body { color: #1e9dfa; } p { color: rgb(30, 157, 250); } header { border-bottom:1px solid #1e9dfa; }