In RGB color space, #f0c228 hex color has a red value of 240, a green value of 194 and a blue value of 40.
In CMYK color space (used in color printing), #f0c228 hex color is composed of 0% cyan, 19.17% magenta, 83.33% yellow and 5.88% black.
#f0c228 color has a hue of 46.2 degrees, a saturation of 86.96% and a lightness of 54.9%.
#f0c228 hex color contains mainly RED.
The closest web safe color of #f0c228 is #ffcc33
#f0c228 hex color has a decimal value of 15778344.
HEX | f0c228 | #f0c228 |
---|---|---|
RGB | 240, 194, 40 | rgb(240, 194, 40) |
RGB Percent | 94.12, 76.08, 15.69 | rgb(94.12, 76.08, 15.69) |
CMYK | 0, 19, 83, 6 | |
HSL | 46.2°, 86.96, 54.9 | hsl(46.2, 86.96%, 54.9%) |
HSV | 46.2°, 83.3, 94.1 |
XYZ | 55.61, 57.262, 10.129 |
---|---|
Hunter Lab | 75.672, -1.248, 45.034 |
CIE-LAB | 80.327, 2.99, 75.459 |
CIE-LCH | 80.327, 75.518, 87.731 |
CIE-LUV | 0, 19.17, 83.33, 5.88 |
Web Safe | ffcc33 |
RGB percent of color #f0c228
CMYK percent of color #f0c228
Text with hexadecimal color #f0c228
This text has a font color of #f0c228
<p style="color:#f0c228">Text here</p>
#f0c228 Background Color
This box has a background color of #f0c228
<div style="background-color:#f0c228">Text here</div>
#f0c228 Border Color
This box has a border color of #f0c228
<div style="border: 4px solid #f0c228">Text here</div>
CSS codes
<p style="color:#f0c228">Text here</p>
<div style="background-color:#f0c228">Text here</div>
<div style="border: 4px solid #f0c228">Text here</div>
#f0c228 Color on white background
This is how a font and box color of #f0c228 will look
on a white background.
#f0c228 Color on black background
This is how a font and box color of #f0c228 hex color will look
on a black background.