#ce1544 Color
Color Codes | |
---|---|
Hex Code | #ce1544 |
RGB Code | rgb(206, 21, 68) |
HSL Code | hsl(345, 81%, 45%) |
#ce1544 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(206, 21, 68); }
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(345, 81%, 45%); }
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 #ce1544
RGB Code | Hex Code | Preview |
---|---|---|
rgb(206, 21, 68, 10%) | #ce15441a | |
rgb(206, 21, 68, 20%) | #ce154433 | |
rgb(206, 21, 68, 40%) | #ce15444C | |
rgb(206, 21, 68, 60%) | #ce154499 | |
rgb(206, 21, 68, 80%) | #ce1544CC | |
rgb(206, 21, 68, 100%) | #ce1544FF |
Saturated and desaturated colors of #ce1544
HSL Code | Preview |
---|---|
hsl(345, 10%, 45%) | |
hsl(345, 20%, 45%) | |
hsl(345, 40%, 45%) | |
hsl(345, 60%, 45%) | |
hsl(345, 80%, 45%) | |
hsl(345, 100%, 45%) |
#ce1544 Color Usage In CSS
body { color: #ce1544; } p { color: rgb(206, 21, 68); } header { border-bottom:1px solid #ce1544; }