#6958dc Color
Color Codes | |
---|---|
Hex Code | #6958dc |
RGB Code | rgb(105, 88, 220) |
HSL Code | hsl(248, 65%, 60%) |
#6958dc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(105, 88, 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(248, 65%, 60%); }
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 #6958dc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(105, 88, 220, 10%) | #6958dc1a | |
rgb(105, 88, 220, 20%) | #6958dc33 | |
rgb(105, 88, 220, 40%) | #6958dc4C | |
rgb(105, 88, 220, 60%) | #6958dc99 | |
rgb(105, 88, 220, 80%) | #6958dcCC | |
rgb(105, 88, 220, 100%) | #6958dcFF |
Saturated and desaturated colors of #6958dc
HSL Code | Preview |
---|---|
hsl(248, 10%, 60%) | |
hsl(248, 20%, 60%) | |
hsl(248, 40%, 60%) | |
hsl(248, 60%, 60%) | |
hsl(248, 80%, 60%) | |
hsl(248, 100%, 60%) |
#6958dc Color Usage In CSS
body { color: #6958dc; } p { color: rgb(105, 88, 220); } header { border-bottom:1px solid #6958dc; }