#f4d494 Color
Color Codes | |
---|---|
Hex Code | #f4d494 |
RGB Code | rgb(244, 212, 148) |
HSL Code | hsl(40, 81%, 77%) |
#f4d494 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(244, 212, 148); }
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(40, 81%, 77%); }
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 #f4d494
RGB Code | Hex Code | Preview |
---|---|---|
rgb(244, 212, 148, 10%) | #f4d4941a | |
rgb(244, 212, 148, 20%) | #f4d49433 | |
rgb(244, 212, 148, 40%) | #f4d4944C | |
rgb(244, 212, 148, 60%) | #f4d49499 | |
rgb(244, 212, 148, 80%) | #f4d494CC | |
rgb(244, 212, 148, 100%) | #f4d494FF |
Saturated and desaturated colors of #f4d494
HSL Code | Preview |
---|---|
hsl(40, 10%, 77%) | |
hsl(40, 20%, 77%) | |
hsl(40, 40%, 77%) | |
hsl(40, 60%, 77%) | |
hsl(40, 80%, 77%) | |
hsl(40, 100%, 77%) |
#f4d494 Color Usage In CSS
body { color: #f4d494; } p { color: rgb(244, 212, 148); } header { border-bottom:1px solid #f4d494; }