#f0fb24 Color
Color Codes | |
---|---|
Hex Code | #f0fb24 |
RGB Code | rgb(240, 251, 36) |
HSL Code | hsl(63, 96%, 56%) |
#f0fb24 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(240, 251, 36); }
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(63, 96%, 56%); }
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 #f0fb24
RGB Code | Hex Code | Preview |
---|---|---|
rgb(240, 251, 36, 10%) | #f0fb241a | |
rgb(240, 251, 36, 20%) | #f0fb2433 | |
rgb(240, 251, 36, 40%) | #f0fb244C | |
rgb(240, 251, 36, 60%) | #f0fb2499 | |
rgb(240, 251, 36, 80%) | #f0fb24CC | |
rgb(240, 251, 36, 100%) | #f0fb24FF |
Saturated and desaturated colors of #f0fb24
HSL Code | Preview |
---|---|
hsl(63, 10%, 56%) | |
hsl(63, 20%, 56%) | |
hsl(63, 40%, 56%) | |
hsl(63, 60%, 56%) | |
hsl(63, 80%, 56%) | |
hsl(63, 100%, 56%) |
#f0fb24 Color Usage In CSS
body { color: #f0fb24; } p { color: rgb(240, 251, 36); } header { border-bottom:1px solid #f0fb24; }