#f0f269 Color
Color Codes | |
---|---|
Hex Code | #f0f269 |
RGB Code | rgb(240, 242, 105) |
HSL Code | hsl(61, 84%, 68%) |
#f0f269 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(240, 242, 105); }
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(61, 84%, 68%); }
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 #f0f269
RGB Code | Hex Code | Preview |
---|---|---|
rgb(240, 242, 105, 10%) | #f0f2691a | |
rgb(240, 242, 105, 20%) | #f0f26933 | |
rgb(240, 242, 105, 40%) | #f0f2694C | |
rgb(240, 242, 105, 60%) | #f0f26999 | |
rgb(240, 242, 105, 80%) | #f0f269CC | |
rgb(240, 242, 105, 100%) | #f0f269FF |
Saturated and desaturated colors of #f0f269
HSL Code | Preview |
---|---|
hsl(61, 10%, 68%) | |
hsl(61, 20%, 68%) | |
hsl(61, 40%, 68%) | |
hsl(61, 60%, 68%) | |
hsl(61, 80%, 68%) | |
hsl(61, 100%, 68%) |
#f0f269 Color Usage In CSS
body { color: #f0f269; } p { color: rgb(240, 242, 105); } header { border-bottom:1px solid #f0f269; }