#f4b310 Color
Color Codes | |
---|---|
Hex Code | #f4b310 |
RGB Code | rgb(244, 179, 16) |
HSL Code | hsl(43, 91%, 51%) |
#f4b310 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(244, 179, 16); }
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(43, 91%, 51%); }
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 #f4b310
RGB Code | Hex Code | Preview |
---|---|---|
rgb(244, 179, 16, 10%) | #f4b3101a | |
rgb(244, 179, 16, 20%) | #f4b31033 | |
rgb(244, 179, 16, 40%) | #f4b3104C | |
rgb(244, 179, 16, 60%) | #f4b31099 | |
rgb(244, 179, 16, 80%) | #f4b310CC | |
rgb(244, 179, 16, 100%) | #f4b310FF |
Saturated and desaturated colors of #f4b310
HSL Code | Preview |
---|---|
hsl(43, 10%, 51%) | |
hsl(43, 20%, 51%) | |
hsl(43, 40%, 51%) | |
hsl(43, 60%, 51%) | |
hsl(43, 80%, 51%) | |
hsl(43, 100%, 51%) |
#f4b310 Color Usage In CSS
body { color: #f4b310; } p { color: rgb(244, 179, 16); } header { border-bottom:1px solid #f4b310; }