#6271e1 Color
Color Codes | |
---|---|
Hex Code | #6271e1 |
RGB Code | rgb(98, 113, 225) |
HSL Code | hsl(233, 68%, 63%) |
#6271e1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(98, 113, 225); }
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(233, 68%, 63%); }
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 #6271e1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(98, 113, 225, 10%) | #6271e11a | |
rgb(98, 113, 225, 20%) | #6271e133 | |
rgb(98, 113, 225, 40%) | #6271e14C | |
rgb(98, 113, 225, 60%) | #6271e199 | |
rgb(98, 113, 225, 80%) | #6271e1CC | |
rgb(98, 113, 225, 100%) | #6271e1FF |
Saturated and desaturated colors of #6271e1
HSL Code | Preview |
---|---|
hsl(233, 10%, 63%) | |
hsl(233, 20%, 63%) | |
hsl(233, 40%, 63%) | |
hsl(233, 60%, 63%) | |
hsl(233, 80%, 63%) | |
hsl(233, 100%, 63%) |
#6271e1 Color Usage In CSS
body { color: #6271e1; } p { color: rgb(98, 113, 225); } header { border-bottom:1px solid #6271e1; }