#ef8c3a Color
Color Codes | |
---|---|
Hex Code | #ef8c3a |
RGB Code | rgb(239, 140, 58) |
HSL Code | hsl(27, 85%, 58%) |
#ef8c3a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(239, 140, 58); }
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(27, 85%, 58%); }
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 #ef8c3a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(239, 140, 58, 10%) | #ef8c3a1a | |
rgb(239, 140, 58, 20%) | #ef8c3a33 | |
rgb(239, 140, 58, 40%) | #ef8c3a4C | |
rgb(239, 140, 58, 60%) | #ef8c3a99 | |
rgb(239, 140, 58, 80%) | #ef8c3aCC | |
rgb(239, 140, 58, 100%) | #ef8c3aFF |
Saturated and desaturated colors of #ef8c3a
HSL Code | Preview |
---|---|
hsl(27, 10%, 58%) | |
hsl(27, 20%, 58%) | |
hsl(27, 40%, 58%) | |
hsl(27, 60%, 58%) | |
hsl(27, 80%, 58%) | |
hsl(27, 100%, 58%) |
#ef8c3a Color Usage In CSS
body { color: #ef8c3a; } p { color: rgb(239, 140, 58); } header { border-bottom:1px solid #ef8c3a; }