#f4f705 Color
Color Codes | |
---|---|
Hex Code | #f4f705 |
RGB Code | rgb(244, 247, 05) |
HSL Code | hsl(61, 96%, 49%) |
#f4f705 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(244, 247, 05); }
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(61, 96%, 49%); }
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 #f4f705
RGB Code | Hex Code | Preview |
---|---|---|
rgb(244, 247, 05, 10%) | #f4f7051a | |
rgb(244, 247, 05, 20%) | #f4f70533 | |
rgb(244, 247, 05, 40%) | #f4f7054C | |
rgb(244, 247, 05, 60%) | #f4f70599 | |
rgb(244, 247, 05, 80%) | #f4f705CC | |
rgb(244, 247, 05, 100%) | #f4f705FF |
Saturated and desaturated colors of #f4f705
HSL Code | Preview |
---|---|
hsl(61, 10%, 49%) | |
hsl(61, 20%, 49%) | |
hsl(61, 40%, 49%) | |
hsl(61, 60%, 49%) | |
hsl(61, 80%, 49%) | |
hsl(61, 100%, 49%) |
#f4f705 Color Usage In CSS
body { color: #f4f705; } p { color: rgb(244, 247, 05); } header { border-bottom:1px solid #f4f705; }