#e6002f Color
Color Codes | |
---|---|
Hex Code | #e6002f |
RGB Code | rgb(230, 00, 47) |
HSL Code | hsl(348, 100%, 45%) |
#e6002f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(230, 00, 47); }
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(348, 100%, 45%); }
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 #e6002f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(230, 00, 47, 10%) | #e6002f1a | |
rgb(230, 00, 47, 20%) | #e6002f33 | |
rgb(230, 00, 47, 40%) | #e6002f4C | |
rgb(230, 00, 47, 60%) | #e6002f99 | |
rgb(230, 00, 47, 80%) | #e6002fCC | |
rgb(230, 00, 47, 100%) | #e6002fFF |
Saturated and desaturated colors of #e6002f
HSL Code | Preview |
---|---|
hsl(348, 10%, 45%) | |
hsl(348, 20%, 45%) | |
hsl(348, 40%, 45%) | |
hsl(348, 60%, 45%) | |
hsl(348, 80%, 45%) | |
hsl(348, 100%, 45%) |
#e6002f Color Usage In CSS
body { color: #e6002f; } p { color: rgb(230, 00, 47); } header { border-bottom:1px solid #e6002f; }