In RGB color space, #f0c40c hex color has a red value of 240, a green value of 196 and a blue value of 12.
In CMYK color space (used in color printing), #f0c40c hex color is composed of 0% cyan, 18.33% magenta, 95% yellow and 5.88% black.
#f0c40c color has a hue of 48.4 degrees, a saturation of 90.48% and a lightness of 49.4%.
#f0c40c hex color contains mainly RED.
The closest web safe color of #f0c40c is #ffcc00
#f0c40c hex color has a decimal value of 15778828.
HEX | f0c40c | #f0c40c |
---|---|---|
RGB | 240, 196, 12 | rgb(240, 196, 12) |
RGB Percent | 94.12, 76.86, 4.71 | rgb(94.12, 76.86, 4.71) |
CMYK | 0, 18, 95, 6 | |
HSL | 48.4°, 90.48, 49.4 | hsl(48.4, 90.48%, 49.4%) |
HSV | 48.4°, 95, 94.1 |
XYZ | 55.741, 58.032, 8.611 |
---|---|
Hunter Lab | 76.179, -2.702, 46.623 |
CIE-LAB | 80.757, 1.465, 80.974 |
CIE-LCH | 80.757, 80.987, 88.964 |
CIE-LUV | 0, 18.33, 95, 5.88 |
Web Safe | ffcc00 |
RGB percent of color #f0c40c
CMYK percent of color #f0c40c
Text with hexadecimal color #f0c40c
This text has a font color of #f0c40c
<p style="color:#f0c40c">Text here</p>
#f0c40c Background Color
This box has a background color of #f0c40c
<div style="background-color:#f0c40c">Text here</div>
#f0c40c Border Color
This box has a border color of #f0c40c
<div style="border: 4px solid #f0c40c">Text here</div>
CSS codes
<p style="color:#f0c40c">Text here</p>
<div style="background-color:#f0c40c">Text here</div>
<div style="border: 4px solid #f0c40c">Text here</div>
#f0c40c Color on white background
This is how a font and box color of #f0c40c will look
on a white background.
#f0c40c Color on black background
This is how a font and box color of #f0c40c hex color will look
on a black background.