#6125ad Color
Color Codes | |
---|---|
Hex Code | #6125ad |
RGB Code | rgb(97, 37, 173) |
HSL Code | hsl(266, 65%, 41%) |
#6125ad Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(97, 37, 173); }
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(266, 65%, 41%); }
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 #6125ad
RGB Code | Hex Code | Preview |
---|---|---|
rgb(97, 37, 173, 10%) | #6125ad1a | |
rgb(97, 37, 173, 20%) | #6125ad33 | |
rgb(97, 37, 173, 40%) | #6125ad4C | |
rgb(97, 37, 173, 60%) | #6125ad99 | |
rgb(97, 37, 173, 80%) | #6125adCC | |
rgb(97, 37, 173, 100%) | #6125adFF |
Saturated and desaturated colors of #6125ad
HSL Code | Preview |
---|---|
hsl(266, 10%, 41%) | |
hsl(266, 20%, 41%) | |
hsl(266, 40%, 41%) | |
hsl(266, 60%, 41%) | |
hsl(266, 80%, 41%) | |
hsl(266, 100%, 41%) |
#6125ad Color Usage In CSS
body { color: #6125ad; } p { color: rgb(97, 37, 173); } header { border-bottom:1px solid #6125ad; }