#ec8c31 Color
Color Codes | |
---|---|
Hex Code | #ec8c31 |
RGB Code | rgb(236, 140, 49) |
HSL Code | hsl(29, 83%, 56%) |
#ec8c31 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 140, 49); }
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(29, 83%, 56%); }
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 #ec8c31
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 140, 49, 10%) | #ec8c311a | |
rgb(236, 140, 49, 20%) | #ec8c3133 | |
rgb(236, 140, 49, 40%) | #ec8c314C | |
rgb(236, 140, 49, 60%) | #ec8c3199 | |
rgb(236, 140, 49, 80%) | #ec8c31CC | |
rgb(236, 140, 49, 100%) | #ec8c31FF |
Saturated and desaturated colors of #ec8c31
HSL Code | Preview |
---|---|
hsl(29, 10%, 56%) | |
hsl(29, 20%, 56%) | |
hsl(29, 40%, 56%) | |
hsl(29, 60%, 56%) | |
hsl(29, 80%, 56%) | |
hsl(29, 100%, 56%) |
#ec8c31 Color Usage In CSS
body { color: #ec8c31; } p { color: rgb(236, 140, 49); } header { border-bottom:1px solid #ec8c31; }