#ed1430 Color
Color Codes | |
---|---|
Hex Code | #ed1430 |
RGB Code | rgb(237, 20, 48) |
HSL Code | hsl(352, 86%, 50%) |
#ed1430 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(237, 20, 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(352, 86%, 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 #ed1430
RGB Code | Hex Code | Preview |
---|---|---|
rgb(237, 20, 48, 10%) | #ed14301a | |
rgb(237, 20, 48, 20%) | #ed143033 | |
rgb(237, 20, 48, 40%) | #ed14304C | |
rgb(237, 20, 48, 60%) | #ed143099 | |
rgb(237, 20, 48, 80%) | #ed1430CC | |
rgb(237, 20, 48, 100%) | #ed1430FF |
Saturated and desaturated colors of #ed1430
HSL Code | Preview |
---|---|
hsl(352, 10%, 50%) | |
hsl(352, 20%, 50%) | |
hsl(352, 40%, 50%) | |
hsl(352, 60%, 50%) | |
hsl(352, 80%, 50%) | |
hsl(352, 100%, 50%) |
#ed1430 Color Usage In CSS
body { color: #ed1430; } p { color: rgb(237, 20, 48); } header { border-bottom:1px solid #ed1430; }