#ea3530 Color
Color Codes | |
---|---|
Hex Code | #ea3530 |
RGB Code | rgb(234, 53, 48) |
HSL Code | hsl(2, 82%, 55%) |
#ea3530 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 53, 48); }
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(2, 82%, 55%); }
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 #ea3530
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 53, 48, 10%) | #ea35301a | |
rgb(234, 53, 48, 20%) | #ea353033 | |
rgb(234, 53, 48, 40%) | #ea35304C | |
rgb(234, 53, 48, 60%) | #ea353099 | |
rgb(234, 53, 48, 80%) | #ea3530CC | |
rgb(234, 53, 48, 100%) | #ea3530FF |
Saturated and desaturated colors of #ea3530
HSL Code | Preview |
---|---|
hsl(2, 10%, 55%) | |
hsl(2, 20%, 55%) | |
hsl(2, 40%, 55%) | |
hsl(2, 60%, 55%) | |
hsl(2, 80%, 55%) | |
hsl(2, 100%, 55%) |
#ea3530 Color Usage In CSS
body { color: #ea3530; } p { color: rgb(234, 53, 48); } header { border-bottom:1px solid #ea3530; }