#f1d844 Color
Color Codes | |
---|---|
Hex Code | #f1d844 |
RGB Code | rgb(241, 216, 68) |
HSL Code | hsl(51, 86%, 61%) |
#f1d844 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(241, 216, 68); }
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(51, 86%, 61%); }
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 #f1d844
RGB Code | Hex Code | Preview |
---|---|---|
rgb(241, 216, 68, 10%) | #f1d8441a | |
rgb(241, 216, 68, 20%) | #f1d84433 | |
rgb(241, 216, 68, 40%) | #f1d8444C | |
rgb(241, 216, 68, 60%) | #f1d84499 | |
rgb(241, 216, 68, 80%) | #f1d844CC | |
rgb(241, 216, 68, 100%) | #f1d844FF |
Saturated and desaturated colors of #f1d844
HSL Code | Preview |
---|---|
hsl(51, 10%, 61%) | |
hsl(51, 20%, 61%) | |
hsl(51, 40%, 61%) | |
hsl(51, 60%, 61%) | |
hsl(51, 80%, 61%) | |
hsl(51, 100%, 61%) |
#f1d844 Color Usage In CSS
body { color: #f1d844; } p { color: rgb(241, 216, 68); } header { border-bottom:1px solid #f1d844; }