#cb3c59 Color
Color Codes | |
---|---|
Hex Code | #cb3c59 |
RGB Code | rgb(203, 60, 89) |
HSL Code | hsl(348, 58%, 52%) |
#cb3c59 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 60, 89); }
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(348, 58%, 52%); }
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 #cb3c59
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 60, 89, 10%) | #cb3c591a | |
rgb(203, 60, 89, 20%) | #cb3c5933 | |
rgb(203, 60, 89, 40%) | #cb3c594C | |
rgb(203, 60, 89, 60%) | #cb3c5999 | |
rgb(203, 60, 89, 80%) | #cb3c59CC | |
rgb(203, 60, 89, 100%) | #cb3c59FF |
Saturated and desaturated colors of #cb3c59
HSL Code | Preview |
---|---|
hsl(348, 10%, 52%) | |
hsl(348, 20%, 52%) | |
hsl(348, 40%, 52%) | |
hsl(348, 60%, 52%) | |
hsl(348, 80%, 52%) | |
hsl(348, 100%, 52%) |
#cb3c59 Color Usage In CSS
body { color: #cb3c59; } p { color: rgb(203, 60, 89); } header { border-bottom:1px solid #cb3c59; }