#2118fe Color
Color Codes | |
---|---|
Hex Code | #2118fe |
RGB Code | rgb(33, 24, 254) |
HSL Code | hsl(242, 99%, 55%) |
#2118fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(33, 24, 254); }
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(242, 99%, 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 #2118fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(33, 24, 254, 10%) | #2118fe1a | |
rgb(33, 24, 254, 20%) | #2118fe33 | |
rgb(33, 24, 254, 40%) | #2118fe4C | |
rgb(33, 24, 254, 60%) | #2118fe99 | |
rgb(33, 24, 254, 80%) | #2118feCC | |
rgb(33, 24, 254, 100%) | #2118feFF |
Saturated and desaturated colors of #2118fe
HSL Code | Preview |
---|---|
hsl(242, 10%, 55%) | |
hsl(242, 20%, 55%) | |
hsl(242, 40%, 55%) | |
hsl(242, 60%, 55%) | |
hsl(242, 80%, 55%) | |
hsl(242, 100%, 55%) |
#2118fe Color Usage In CSS
body { color: #2118fe; } p { color: rgb(33, 24, 254); } header { border-bottom:1px solid #2118fe; }