#c58abc Color
Color Codes | |
---|---|
Hex Code | #c58abc |
RGB Code | rgb(197, 138, 188) |
HSL Code | hsl(309, 34%, 66%) |
#c58abc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(197, 138, 188); }
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(309, 34%, 66%); }
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 #c58abc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(197, 138, 188, 10%) | #c58abc1a | |
rgb(197, 138, 188, 20%) | #c58abc33 | |
rgb(197, 138, 188, 40%) | #c58abc4C | |
rgb(197, 138, 188, 60%) | #c58abc99 | |
rgb(197, 138, 188, 80%) | #c58abcCC | |
rgb(197, 138, 188, 100%) | #c58abcFF |
Saturated and desaturated colors of #c58abc
HSL Code | Preview |
---|---|
hsl(309, 10%, 66%) | |
hsl(309, 20%, 66%) | |
hsl(309, 40%, 66%) | |
hsl(309, 60%, 66%) | |
hsl(309, 80%, 66%) | |
hsl(309, 100%, 66%) |
#c58abc Color Usage In CSS
body { color: #c58abc; } p { color: rgb(197, 138, 188); } header { border-bottom:1px solid #c58abc; }