#6032cd Color
Color Codes | |
---|---|
Hex Code | #6032cd |
RGB Code | rgb(96, 50, 205) |
HSL Code | hsl(258, 61%, 50%) |
#6032cd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(96, 50, 205); }
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, 61%, 50%); }
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 #6032cd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(96, 50, 205, 10%) | #6032cd1a | |
rgb(96, 50, 205, 20%) | #6032cd33 | |
rgb(96, 50, 205, 40%) | #6032cd4C | |
rgb(96, 50, 205, 60%) | #6032cd99 | |
rgb(96, 50, 205, 80%) | #6032cdCC | |
rgb(96, 50, 205, 100%) | #6032cdFF |
Saturated and desaturated colors of #6032cd
HSL Code | Preview |
---|---|
hsl(258, 10%, 50%) | |
hsl(258, 20%, 50%) | |
hsl(258, 40%, 50%) | |
hsl(258, 60%, 50%) | |
hsl(258, 80%, 50%) | |
hsl(258, 100%, 50%) |
#6032cd Color Usage In CSS
body { color: #6032cd; } p { color: rgb(96, 50, 205); } header { border-bottom:1px solid #6032cd; }