#6015f2 Color
Color Codes | |
---|---|
Hex Code | #6015f2 |
RGB Code | rgb(96, 21, 242) |
HSL Code | hsl(260, 89%, 52%) |
#6015f2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(96, 21, 242); }
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(260, 89%, 52%); }
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 #6015f2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(96, 21, 242, 10%) | #6015f21a | |
rgb(96, 21, 242, 20%) | #6015f233 | |
rgb(96, 21, 242, 40%) | #6015f24C | |
rgb(96, 21, 242, 60%) | #6015f299 | |
rgb(96, 21, 242, 80%) | #6015f2CC | |
rgb(96, 21, 242, 100%) | #6015f2FF |
Saturated and desaturated colors of #6015f2
HSL Code | Preview |
---|---|
hsl(260, 10%, 52%) | |
hsl(260, 20%, 52%) | |
hsl(260, 40%, 52%) | |
hsl(260, 60%, 52%) | |
hsl(260, 80%, 52%) | |
hsl(260, 100%, 52%) |
#6015f2 Color Usage In CSS
body { color: #6015f2; } p { color: rgb(96, 21, 242); } header { border-bottom:1px solid #6015f2; }