#6b13c8 Color
Color Codes | |
---|---|
Hex Code | #6b13c8 |
RGB Code | rgb(107, 19, 200) |
HSL Code | hsl(269, 83%, 43%) |
#6b13c8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(107, 19, 200); }
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(269, 83%, 43%); }
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 #6b13c8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(107, 19, 200, 10%) | #6b13c81a | |
rgb(107, 19, 200, 20%) | #6b13c833 | |
rgb(107, 19, 200, 40%) | #6b13c84C | |
rgb(107, 19, 200, 60%) | #6b13c899 | |
rgb(107, 19, 200, 80%) | #6b13c8CC | |
rgb(107, 19, 200, 100%) | #6b13c8FF |
Saturated and desaturated colors of #6b13c8
HSL Code | Preview |
---|---|
hsl(269, 10%, 43%) | |
hsl(269, 20%, 43%) | |
hsl(269, 40%, 43%) | |
hsl(269, 60%, 43%) | |
hsl(269, 80%, 43%) | |
hsl(269, 100%, 43%) |
#6b13c8 Color Usage In CSS
body { color: #6b13c8; } p { color: rgb(107, 19, 200); } header { border-bottom:1px solid #6b13c8; }