#cb1de4 Color
Color Codes | |
---|---|
Hex Code | #cb1de4 |
RGB Code | rgb(203, 29, 228) |
HSL Code | hsl(292, 79%, 50%) |
#cb1de4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 29, 228); }
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(292, 79%, 50%); }
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 #cb1de4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 29, 228, 10%) | #cb1de41a | |
rgb(203, 29, 228, 20%) | #cb1de433 | |
rgb(203, 29, 228, 40%) | #cb1de44C | |
rgb(203, 29, 228, 60%) | #cb1de499 | |
rgb(203, 29, 228, 80%) | #cb1de4CC | |
rgb(203, 29, 228, 100%) | #cb1de4FF |
Saturated and desaturated colors of #cb1de4
HSL Code | Preview |
---|---|
hsl(292, 10%, 50%) | |
hsl(292, 20%, 50%) | |
hsl(292, 40%, 50%) | |
hsl(292, 60%, 50%) | |
hsl(292, 80%, 50%) | |
hsl(292, 100%, 50%) |
#cb1de4 Color Usage In CSS
body { color: #cb1de4; } p { color: rgb(203, 29, 228); } header { border-bottom:1px solid #cb1de4; }