#eb3c39 Color
Color Codes | |
---|---|
Hex Code | #eb3c39 |
RGB Code | rgb(235, 60, 57) |
HSL Code | hsl(1, 82%, 57%) |
#eb3c39 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 60, 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(1, 82%, 57%); }
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 #eb3c39
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 60, 57, 10%) | #eb3c391a | |
rgb(235, 60, 57, 20%) | #eb3c3933 | |
rgb(235, 60, 57, 40%) | #eb3c394C | |
rgb(235, 60, 57, 60%) | #eb3c3999 | |
rgb(235, 60, 57, 80%) | #eb3c39CC | |
rgb(235, 60, 57, 100%) | #eb3c39FF |
Saturated and desaturated colors of #eb3c39
HSL Code | Preview |
---|---|
hsl(1, 10%, 57%) | |
hsl(1, 20%, 57%) | |
hsl(1, 40%, 57%) | |
hsl(1, 60%, 57%) | |
hsl(1, 80%, 57%) | |
hsl(1, 100%, 57%) |
#eb3c39 Color Usage In CSS
body { color: #eb3c39; } p { color: rgb(235, 60, 57); } header { border-bottom:1px solid #eb3c39; }