#622edc Color
Color Codes | |
---|---|
Hex Code | #622edc |
RGB Code | rgb(98, 46, 220) |
HSL Code | hsl(258, 71%, 52%) |
#622edc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(98, 46, 220); }
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(258, 71%, 52%); }
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 #622edc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(98, 46, 220, 10%) | #622edc1a | |
rgb(98, 46, 220, 20%) | #622edc33 | |
rgb(98, 46, 220, 40%) | #622edc4C | |
rgb(98, 46, 220, 60%) | #622edc99 | |
rgb(98, 46, 220, 80%) | #622edcCC | |
rgb(98, 46, 220, 100%) | #622edcFF |
Saturated and desaturated colors of #622edc
HSL Code | Preview |
---|---|
hsl(258, 10%, 52%) | |
hsl(258, 20%, 52%) | |
hsl(258, 40%, 52%) | |
hsl(258, 60%, 52%) | |
hsl(258, 80%, 52%) | |
hsl(258, 100%, 52%) |
#622edc Color Usage In CSS
body { color: #622edc; } p { color: rgb(98, 46, 220); } header { border-bottom:1px solid #622edc; }