#6d1039 Color
Color Codes | |
---|---|
Hex Code | #6d1039 |
RGB Code | rgb(109, 16, 57) |
HSL Code | hsl(334, 74%, 25%) |
#6d1039 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(109, 16, 57); }
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(334, 74%, 25%); }
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 #6d1039
RGB Code | Hex Code | Preview |
---|---|---|
rgb(109, 16, 57, 10%) | #6d10391a | |
rgb(109, 16, 57, 20%) | #6d103933 | |
rgb(109, 16, 57, 40%) | #6d10394C | |
rgb(109, 16, 57, 60%) | #6d103999 | |
rgb(109, 16, 57, 80%) | #6d1039CC | |
rgb(109, 16, 57, 100%) | #6d1039FF |
Saturated and desaturated colors of #6d1039
HSL Code | Preview |
---|---|
hsl(334, 10%, 25%) | |
hsl(334, 20%, 25%) | |
hsl(334, 40%, 25%) | |
hsl(334, 60%, 25%) | |
hsl(334, 80%, 25%) | |
hsl(334, 100%, 25%) |
#6d1039 Color Usage In CSS
body { color: #6d1039; } p { color: rgb(109, 16, 57); } header { border-bottom:1px solid #6d1039; }