#f4c648 Color
Color Codes | |
---|---|
Hex Code | #f4c648 |
RGB Code | rgb(244, 198, 72) |
HSL Code | hsl(44, 89%, 62%) |
#f4c648 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(244, 198, 72); }
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(44, 89%, 62%); }
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 #f4c648
RGB Code | Hex Code | Preview |
---|---|---|
rgb(244, 198, 72, 10%) | #f4c6481a | |
rgb(244, 198, 72, 20%) | #f4c64833 | |
rgb(244, 198, 72, 40%) | #f4c6484C | |
rgb(244, 198, 72, 60%) | #f4c64899 | |
rgb(244, 198, 72, 80%) | #f4c648CC | |
rgb(244, 198, 72, 100%) | #f4c648FF |
Saturated and desaturated colors of #f4c648
HSL Code | Preview |
---|---|
hsl(44, 10%, 62%) | |
hsl(44, 20%, 62%) | |
hsl(44, 40%, 62%) | |
hsl(44, 60%, 62%) | |
hsl(44, 80%, 62%) | |
hsl(44, 100%, 62%) |
#f4c648 Color Usage In CSS
body { color: #f4c648; } p { color: rgb(244, 198, 72); } header { border-bottom:1px solid #f4c648; }