#6254ce Color
Color Codes | |
---|---|
Hex Code | #6254ce |
RGB Code | rgb(98, 84, 206) |
HSL Code | hsl(247, 55%, 57%) |
#6254ce Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(98, 84, 206); }
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(247, 55%, 57%); }
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 #6254ce
RGB Code | Hex Code | Preview |
---|---|---|
rgb(98, 84, 206, 10%) | #6254ce1a | |
rgb(98, 84, 206, 20%) | #6254ce33 | |
rgb(98, 84, 206, 40%) | #6254ce4C | |
rgb(98, 84, 206, 60%) | #6254ce99 | |
rgb(98, 84, 206, 80%) | #6254ceCC | |
rgb(98, 84, 206, 100%) | #6254ceFF |
Saturated and desaturated colors of #6254ce
HSL Code | Preview |
---|---|
hsl(247, 10%, 57%) | |
hsl(247, 20%, 57%) | |
hsl(247, 40%, 57%) | |
hsl(247, 60%, 57%) | |
hsl(247, 80%, 57%) | |
hsl(247, 100%, 57%) |
#6254ce Color Usage In CSS
body { color: #6254ce; } p { color: rgb(98, 84, 206); } header { border-bottom:1px solid #6254ce; }