#ec6a2d Color
Color Codes | |
---|---|
Hex Code | #ec6a2d |
RGB Code | rgb(236, 106, 45) |
HSL Code | hsl(19, 83%, 55%) |
#ec6a2d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 106, 45); }
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(19, 83%, 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 #ec6a2d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 106, 45, 10%) | #ec6a2d1a | |
rgb(236, 106, 45, 20%) | #ec6a2d33 | |
rgb(236, 106, 45, 40%) | #ec6a2d4C | |
rgb(236, 106, 45, 60%) | #ec6a2d99 | |
rgb(236, 106, 45, 80%) | #ec6a2dCC | |
rgb(236, 106, 45, 100%) | #ec6a2dFF |
Saturated and desaturated colors of #ec6a2d
HSL Code | Preview |
---|---|
hsl(19, 10%, 55%) | |
hsl(19, 20%, 55%) | |
hsl(19, 40%, 55%) | |
hsl(19, 60%, 55%) | |
hsl(19, 80%, 55%) | |
hsl(19, 100%, 55%) |
#ec6a2d Color Usage In CSS
body { color: #ec6a2d; } p { color: rgb(236, 106, 45); } header { border-bottom:1px solid #ec6a2d; }