#cb2399 Color
Color Codes | |
---|---|
Hex Code | #cb2399 |
RGB Code | rgb(203, 35, 153) |
HSL Code | hsl(318, 71%, 47%) |
#cb2399 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 35, 153); }
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, 71%, 47%); }
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 #cb2399
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 35, 153, 10%) | #cb23991a | |
rgb(203, 35, 153, 20%) | #cb239933 | |
rgb(203, 35, 153, 40%) | #cb23994C | |
rgb(203, 35, 153, 60%) | #cb239999 | |
rgb(203, 35, 153, 80%) | #cb2399CC | |
rgb(203, 35, 153, 100%) | #cb2399FF |
Saturated and desaturated colors of #cb2399
HSL Code | Preview |
---|---|
hsl(318, 10%, 47%) | |
hsl(318, 20%, 47%) | |
hsl(318, 40%, 47%) | |
hsl(318, 60%, 47%) | |
hsl(318, 80%, 47%) | |
hsl(318, 100%, 47%) |
#cb2399 Color Usage In CSS
body { color: #cb2399; } p { color: rgb(203, 35, 153); } header { border-bottom:1px solid #cb2399; }