#fff74b Color
Color Codes | |
---|---|
Hex Code | #fff74b |
RGB Code | rgb(255, 247, 75) |
HSL Code | hsl(57, 100%, 65%) |
#fff74b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(255, 247, 75); }
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(57, 100%, 65%); }
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 #fff74b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(255, 247, 75, 10%) | #fff74b1a | |
rgb(255, 247, 75, 20%) | #fff74b33 | |
rgb(255, 247, 75, 40%) | #fff74b4C | |
rgb(255, 247, 75, 60%) | #fff74b99 | |
rgb(255, 247, 75, 80%) | #fff74bCC | |
rgb(255, 247, 75, 100%) | #fff74bFF |
Saturated and desaturated colors of #fff74b
HSL Code | Preview |
---|---|
hsl(57, 10%, 65%) | |
hsl(57, 20%, 65%) | |
hsl(57, 40%, 65%) | |
hsl(57, 60%, 65%) | |
hsl(57, 80%, 65%) | |
hsl(57, 100%, 65%) |
#fff74b Color Usage In CSS
body { color: #fff74b; } p { color: rgb(255, 247, 75); } header { border-bottom:1px solid #fff74b; }