#f1d400 Color
Color Codes | |
---|---|
Hex Code | #f1d400 |
RGB Code | rgb(241, 212, 00) |
HSL Code | hsl(53, 100%, 47%) |
#f1d400 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(241, 212, 00); }
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(53, 100%, 47%); }
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 #f1d400
RGB Code | Hex Code | Preview |
---|---|---|
rgb(241, 212, 00, 10%) | #f1d4001a | |
rgb(241, 212, 00, 20%) | #f1d40033 | |
rgb(241, 212, 00, 40%) | #f1d4004C | |
rgb(241, 212, 00, 60%) | #f1d40099 | |
rgb(241, 212, 00, 80%) | #f1d400CC | |
rgb(241, 212, 00, 100%) | #f1d400FF |
Saturated and desaturated colors of #f1d400
HSL Code | Preview |
---|---|
hsl(53, 10%, 47%) | |
hsl(53, 20%, 47%) | |
hsl(53, 40%, 47%) | |
hsl(53, 60%, 47%) | |
hsl(53, 80%, 47%) | |
hsl(53, 100%, 47%) |
#f1d400 Color Usage In CSS
body { color: #f1d400; } p { color: rgb(241, 212, 00); } header { border-bottom:1px solid #f1d400; }