#cc3339 Color
Color Codes | |
---|---|
Hex Code | #cc3339 |
RGB Code | rgb(204, 51, 57) |
HSL Code | hsl(358, 60%, 50%) |
#cc3339 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 51, 57); }
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(358, 60%, 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 #cc3339
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 51, 57, 10%) | #cc33391a | |
rgb(204, 51, 57, 20%) | #cc333933 | |
rgb(204, 51, 57, 40%) | #cc33394C | |
rgb(204, 51, 57, 60%) | #cc333999 | |
rgb(204, 51, 57, 80%) | #cc3339CC | |
rgb(204, 51, 57, 100%) | #cc3339FF |
Saturated and desaturated colors of #cc3339
HSL Code | Preview |
---|---|
hsl(358, 10%, 50%) | |
hsl(358, 20%, 50%) | |
hsl(358, 40%, 50%) | |
hsl(358, 60%, 50%) | |
hsl(358, 80%, 50%) | |
hsl(358, 100%, 50%) |
#cc3339 Color Usage In CSS
body { color: #cc3339; } p { color: rgb(204, 51, 57); } header { border-bottom:1px solid #cc3339; }