#ef2c0e Color
Color Codes | |
---|---|
Hex Code | #ef2c0e |
RGB Code | rgb(239, 44, 14) |
HSL Code | hsl(8, 89%, 50%) |
#ef2c0e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(239, 44, 14); }
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(8, 89%, 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 #ef2c0e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(239, 44, 14, 10%) | #ef2c0e1a | |
rgb(239, 44, 14, 20%) | #ef2c0e33 | |
rgb(239, 44, 14, 40%) | #ef2c0e4C | |
rgb(239, 44, 14, 60%) | #ef2c0e99 | |
rgb(239, 44, 14, 80%) | #ef2c0eCC | |
rgb(239, 44, 14, 100%) | #ef2c0eFF |
Saturated and desaturated colors of #ef2c0e
HSL Code | Preview |
---|---|
hsl(8, 10%, 50%) | |
hsl(8, 20%, 50%) | |
hsl(8, 40%, 50%) | |
hsl(8, 60%, 50%) | |
hsl(8, 80%, 50%) | |
hsl(8, 100%, 50%) |
#ef2c0e Color Usage In CSS
body { color: #ef2c0e; } p { color: rgb(239, 44, 14); } header { border-bottom:1px solid #ef2c0e; }