#ce3f8a Color
Color Codes | |
---|---|
Hex Code | #ce3f8a |
RGB Code | rgb(206, 63, 138) |
HSL Code | hsl(329, 59%, 53%) |
#ce3f8a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(206, 63, 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(329, 59%, 53%); }
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 #ce3f8a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(206, 63, 138, 10%) | #ce3f8a1a | |
rgb(206, 63, 138, 20%) | #ce3f8a33 | |
rgb(206, 63, 138, 40%) | #ce3f8a4C | |
rgb(206, 63, 138, 60%) | #ce3f8a99 | |
rgb(206, 63, 138, 80%) | #ce3f8aCC | |
rgb(206, 63, 138, 100%) | #ce3f8aFF |
Saturated and desaturated colors of #ce3f8a
HSL Code | Preview |
---|---|
hsl(329, 10%, 53%) | |
hsl(329, 20%, 53%) | |
hsl(329, 40%, 53%) | |
hsl(329, 60%, 53%) | |
hsl(329, 80%, 53%) | |
hsl(329, 100%, 53%) |
#ce3f8a Color Usage In CSS
body { color: #ce3f8a; } p { color: rgb(206, 63, 138); } header { border-bottom:1px solid #ce3f8a; }