#696def Color
Color Codes | |
---|---|
Hex Code | #696def |
RGB Code | rgb(105, 109, 239) |
HSL Code | hsl(238, 81%, 67%) |
#696def Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(105, 109, 239); }
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(238, 81%, 67%); }
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 #696def
RGB Code | Hex Code | Preview |
---|---|---|
rgb(105, 109, 239, 10%) | #696def1a | |
rgb(105, 109, 239, 20%) | #696def33 | |
rgb(105, 109, 239, 40%) | #696def4C | |
rgb(105, 109, 239, 60%) | #696def99 | |
rgb(105, 109, 239, 80%) | #696defCC | |
rgb(105, 109, 239, 100%) | #696defFF |
Saturated and desaturated colors of #696def
HSL Code | Preview |
---|---|
hsl(238, 10%, 67%) | |
hsl(238, 20%, 67%) | |
hsl(238, 40%, 67%) | |
hsl(238, 60%, 67%) | |
hsl(238, 80%, 67%) | |
hsl(238, 100%, 67%) |
#696def Color Usage In CSS
body { color: #696def; } p { color: rgb(105, 109, 239); } header { border-bottom:1px solid #696def; }