#eb150a Color
Color Codes | |
---|---|
Hex Code | #eb150a |
RGB Code | rgb(235, 21, 10) |
HSL Code | hsl(3, 92%, 48%) |
#eb150a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 21, 10); }
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(3, 92%, 48%); }
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 #eb150a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 21, 10, 10%) | #eb150a1a | |
rgb(235, 21, 10, 20%) | #eb150a33 | |
rgb(235, 21, 10, 40%) | #eb150a4C | |
rgb(235, 21, 10, 60%) | #eb150a99 | |
rgb(235, 21, 10, 80%) | #eb150aCC | |
rgb(235, 21, 10, 100%) | #eb150aFF |
Saturated and desaturated colors of #eb150a
HSL Code | Preview |
---|---|
hsl(3, 10%, 48%) | |
hsl(3, 20%, 48%) | |
hsl(3, 40%, 48%) | |
hsl(3, 60%, 48%) | |
hsl(3, 80%, 48%) | |
hsl(3, 100%, 48%) |
#eb150a Color Usage In CSS
body { color: #eb150a; } p { color: rgb(235, 21, 10); } header { border-bottom:1px solid #eb150a; }