#ff4c16 Color
Color Codes | |
---|---|
Hex Code | #ff4c16 |
RGB Code | rgb(255, 76, 22) |
HSL Code | hsl(14, 100%, 54%) |
#ff4c16 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(255, 76, 22); }
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(14, 100%, 54%); }
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 #ff4c16
RGB Code | Hex Code | Preview |
---|---|---|
rgb(255, 76, 22, 10%) | #ff4c161a | |
rgb(255, 76, 22, 20%) | #ff4c1633 | |
rgb(255, 76, 22, 40%) | #ff4c164C | |
rgb(255, 76, 22, 60%) | #ff4c1699 | |
rgb(255, 76, 22, 80%) | #ff4c16CC | |
rgb(255, 76, 22, 100%) | #ff4c16FF |
Saturated and desaturated colors of #ff4c16
HSL Code | Preview |
---|---|
hsl(14, 10%, 54%) | |
hsl(14, 20%, 54%) | |
hsl(14, 40%, 54%) | |
hsl(14, 60%, 54%) | |
hsl(14, 80%, 54%) | |
hsl(14, 100%, 54%) |
#ff4c16 Color Usage In CSS
body { color: #ff4c16; } p { color: rgb(255, 76, 22); } header { border-bottom:1px solid #ff4c16; }