#6215cf Color
Color Codes | |
---|---|
Hex Code | #6215cf |
RGB Code | rgb(98, 21, 207) |
HSL Code | hsl(265, 82%, 45%) |
#6215cf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(98, 21, 207); }
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(265, 82%, 45%); }
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 #6215cf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(98, 21, 207, 10%) | #6215cf1a | |
rgb(98, 21, 207, 20%) | #6215cf33 | |
rgb(98, 21, 207, 40%) | #6215cf4C | |
rgb(98, 21, 207, 60%) | #6215cf99 | |
rgb(98, 21, 207, 80%) | #6215cfCC | |
rgb(98, 21, 207, 100%) | #6215cfFF |
Saturated and desaturated colors of #6215cf
HSL Code | Preview |
---|---|
hsl(265, 10%, 45%) | |
hsl(265, 20%, 45%) | |
hsl(265, 40%, 45%) | |
hsl(265, 60%, 45%) | |
hsl(265, 80%, 45%) | |
hsl(265, 100%, 45%) |
#6215cf Color Usage In CSS
body { color: #6215cf; } p { color: rgb(98, 21, 207); } header { border-bottom:1px solid #6215cf; }