#f4b54a Color
Color Codes | |
---|---|
Hex Code | #f4b54a |
RGB Code | rgb(244, 181, 74) |
HSL Code | hsl(38, 89%, 62%) |
#f4b54a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(244, 181, 74); }
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(38, 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 #f4b54a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(244, 181, 74, 10%) | #f4b54a1a | |
rgb(244, 181, 74, 20%) | #f4b54a33 | |
rgb(244, 181, 74, 40%) | #f4b54a4C | |
rgb(244, 181, 74, 60%) | #f4b54a99 | |
rgb(244, 181, 74, 80%) | #f4b54aCC | |
rgb(244, 181, 74, 100%) | #f4b54aFF |
Saturated and desaturated colors of #f4b54a
HSL Code | Preview |
---|---|
hsl(38, 10%, 62%) | |
hsl(38, 20%, 62%) | |
hsl(38, 40%, 62%) | |
hsl(38, 60%, 62%) | |
hsl(38, 80%, 62%) | |
hsl(38, 100%, 62%) |
#f4b54a Color Usage In CSS
body { color: #f4b54a; } p { color: rgb(244, 181, 74); } header { border-bottom:1px solid #f4b54a; }