#215fe3 Color
Color Codes | |
---|---|
Hex Code | #215fe3 |
RGB Code | rgb(33, 95, 227) |
HSL Code | hsl(221, 78%, 51%) |
#215fe3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(33, 95, 227); }
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(221, 78%, 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 #215fe3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(33, 95, 227, 10%) | #215fe31a | |
rgb(33, 95, 227, 20%) | #215fe333 | |
rgb(33, 95, 227, 40%) | #215fe34C | |
rgb(33, 95, 227, 60%) | #215fe399 | |
rgb(33, 95, 227, 80%) | #215fe3CC | |
rgb(33, 95, 227, 100%) | #215fe3FF |
Saturated and desaturated colors of #215fe3
HSL Code | Preview |
---|---|
hsl(221, 10%, 51%) | |
hsl(221, 20%, 51%) | |
hsl(221, 40%, 51%) | |
hsl(221, 60%, 51%) | |
hsl(221, 80%, 51%) | |
hsl(221, 100%, 51%) |
#215fe3 Color Usage In CSS
body { color: #215fe3; } p { color: rgb(33, 95, 227); } header { border-bottom:1px solid #215fe3; }