#a7468a Color
Color Codes | |
---|---|
Hex Code | #a7468a |
RGB Code | rgb(167, 70, 138) |
HSL Code | hsl(318, 41%, 46%) |
#a7468a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(167, 70, 138); }
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(318, 41%, 46%); }
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 #a7468a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(167, 70, 138, 10%) | #a7468a1a | |
rgb(167, 70, 138, 20%) | #a7468a33 | |
rgb(167, 70, 138, 40%) | #a7468a4C | |
rgb(167, 70, 138, 60%) | #a7468a99 | |
rgb(167, 70, 138, 80%) | #a7468aCC | |
rgb(167, 70, 138, 100%) | #a7468aFF |
Saturated and desaturated colors of #a7468a
HSL Code | Preview |
---|---|
hsl(318, 10%, 46%) | |
hsl(318, 20%, 46%) | |
hsl(318, 40%, 46%) | |
hsl(318, 60%, 46%) | |
hsl(318, 80%, 46%) | |
hsl(318, 100%, 46%) |
#a7468a Color Usage In CSS
body { color: #a7468a; } p { color: rgb(167, 70, 138); } header { border-bottom:1px solid #a7468a; }