#ce3e31 Color
Color Codes | |
---|---|
Hex Code | #ce3e31 |
RGB Code | rgb(206, 62, 49) |
HSL Code | hsl(5, 62%, 50%) |
#ce3e31 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(206, 62, 49); }
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(5, 62%, 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 #ce3e31
RGB Code | Hex Code | Preview |
---|---|---|
rgb(206, 62, 49, 10%) | #ce3e311a | |
rgb(206, 62, 49, 20%) | #ce3e3133 | |
rgb(206, 62, 49, 40%) | #ce3e314C | |
rgb(206, 62, 49, 60%) | #ce3e3199 | |
rgb(206, 62, 49, 80%) | #ce3e31CC | |
rgb(206, 62, 49, 100%) | #ce3e31FF |
Saturated and desaturated colors of #ce3e31
HSL Code | Preview |
---|---|
hsl(5, 10%, 50%) | |
hsl(5, 20%, 50%) | |
hsl(5, 40%, 50%) | |
hsl(5, 60%, 50%) | |
hsl(5, 80%, 50%) | |
hsl(5, 100%, 50%) |
#ce3e31 Color Usage In CSS
body { color: #ce3e31; } p { color: rgb(206, 62, 49); } header { border-bottom:1px solid #ce3e31; }