#6d7adc Color
Color Codes | |
---|---|
Hex Code | #6d7adc |
RGB Code | rgb(109, 122, 220) |
HSL Code | hsl(233, 61%, 65%) |
#6d7adc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(109, 122, 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(233, 61%, 65%); }
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 #6d7adc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(109, 122, 220, 10%) | #6d7adc1a | |
rgb(109, 122, 220, 20%) | #6d7adc33 | |
rgb(109, 122, 220, 40%) | #6d7adc4C | |
rgb(109, 122, 220, 60%) | #6d7adc99 | |
rgb(109, 122, 220, 80%) | #6d7adcCC | |
rgb(109, 122, 220, 100%) | #6d7adcFF |
Saturated and desaturated colors of #6d7adc
HSL Code | Preview |
---|---|
hsl(233, 10%, 65%) | |
hsl(233, 20%, 65%) | |
hsl(233, 40%, 65%) | |
hsl(233, 60%, 65%) | |
hsl(233, 80%, 65%) | |
hsl(233, 100%, 65%) |
#6d7adc Color Usage In CSS
body { color: #6d7adc; } p { color: rgb(109, 122, 220); } header { border-bottom:1px solid #6d7adc; }