#6278e5 Color
Color Codes | |
---|---|
Hex Code | #6278e5 |
RGB Code | rgb(98, 120, 229) |
HSL Code | hsl(230, 72%, 64%) |
#6278e5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(98, 120, 229); }
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(230, 72%, 64%); }
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 #6278e5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(98, 120, 229, 10%) | #6278e51a | |
rgb(98, 120, 229, 20%) | #6278e533 | |
rgb(98, 120, 229, 40%) | #6278e54C | |
rgb(98, 120, 229, 60%) | #6278e599 | |
rgb(98, 120, 229, 80%) | #6278e5CC | |
rgb(98, 120, 229, 100%) | #6278e5FF |
Saturated and desaturated colors of #6278e5
HSL Code | Preview |
---|---|
hsl(230, 10%, 64%) | |
hsl(230, 20%, 64%) | |
hsl(230, 40%, 64%) | |
hsl(230, 60%, 64%) | |
hsl(230, 80%, 64%) | |
hsl(230, 100%, 64%) |
#6278e5 Color Usage In CSS
body { color: #6278e5; } p { color: rgb(98, 120, 229); } header { border-bottom:1px solid #6278e5; }