#6623df Color
Color Codes | |
---|---|
Hex Code | #6623df |
RGB Code | rgb(102, 35, 223) |
HSL Code | hsl(261, 75%, 51%) |
#6623df Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(102, 35, 223); }
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(261, 75%, 51%); }
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 #6623df
RGB Code | Hex Code | Preview |
---|---|---|
rgb(102, 35, 223, 10%) | #6623df1a | |
rgb(102, 35, 223, 20%) | #6623df33 | |
rgb(102, 35, 223, 40%) | #6623df4C | |
rgb(102, 35, 223, 60%) | #6623df99 | |
rgb(102, 35, 223, 80%) | #6623dfCC | |
rgb(102, 35, 223, 100%) | #6623dfFF |
Saturated and desaturated colors of #6623df
HSL Code | Preview |
---|---|
hsl(261, 10%, 51%) | |
hsl(261, 20%, 51%) | |
hsl(261, 40%, 51%) | |
hsl(261, 60%, 51%) | |
hsl(261, 80%, 51%) | |
hsl(261, 100%, 51%) |
#6623df Color Usage In CSS
body { color: #6623df; } p { color: rgb(102, 35, 223); } header { border-bottom:1px solid #6623df; }