#6147ca Color
Color Codes | |
---|---|
Hex Code | #6147ca |
RGB Code | rgb(97, 71, 202) |
HSL Code | hsl(252, 55%, 54%) |
#6147ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(97, 71, 202); }
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(252, 55%, 54%); }
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 #6147ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(97, 71, 202, 10%) | #6147ca1a | |
rgb(97, 71, 202, 20%) | #6147ca33 | |
rgb(97, 71, 202, 40%) | #6147ca4C | |
rgb(97, 71, 202, 60%) | #6147ca99 | |
rgb(97, 71, 202, 80%) | #6147caCC | |
rgb(97, 71, 202, 100%) | #6147caFF |
Saturated and desaturated colors of #6147ca
HSL Code | Preview |
---|---|
hsl(252, 10%, 54%) | |
hsl(252, 20%, 54%) | |
hsl(252, 40%, 54%) | |
hsl(252, 60%, 54%) | |
hsl(252, 80%, 54%) | |
hsl(252, 100%, 54%) |
#6147ca Color Usage In CSS
body { color: #6147ca; } p { color: rgb(97, 71, 202); } header { border-bottom:1px solid #6147ca; }