#cb2cf2 Color
Color Codes | |
---|---|
Hex Code | #cb2cf2 |
RGB Code | rgb(203, 44, 242) |
HSL Code | hsl(288, 88%, 56%) |
#cb2cf2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 44, 242); }
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(288, 88%, 56%); }
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 #cb2cf2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 44, 242, 10%) | #cb2cf21a | |
rgb(203, 44, 242, 20%) | #cb2cf233 | |
rgb(203, 44, 242, 40%) | #cb2cf24C | |
rgb(203, 44, 242, 60%) | #cb2cf299 | |
rgb(203, 44, 242, 80%) | #cb2cf2CC | |
rgb(203, 44, 242, 100%) | #cb2cf2FF |
Saturated and desaturated colors of #cb2cf2
HSL Code | Preview |
---|---|
hsl(288, 10%, 56%) | |
hsl(288, 20%, 56%) | |
hsl(288, 40%, 56%) | |
hsl(288, 60%, 56%) | |
hsl(288, 80%, 56%) | |
hsl(288, 100%, 56%) |
#cb2cf2 Color Usage In CSS
body { color: #cb2cf2; } p { color: rgb(203, 44, 242); } header { border-bottom:1px solid #cb2cf2; }