HEX: #F2D60C
RGB: (242,214,12)
#F2D60C contains mainly red and green colors. Web safe color of #F2D60C is #FFCC00 (or #FC0).
#F2D60C color RGB value is (242,214,12).
RGB: (242,214,12) (95%,84%,5%)
R 242 of 255 = 95%
G 214 of 255 = 84%
B 12 of 255 = 5%
R + G + B ~ 61%. #F2D60C is quite light color.
R + G + B =
242 + 214 + 12 = 468 (100%)
R 242 of 468 ~ 51.71%
G 214 of 468 ~ 45.73%
B 12 of 468 ~ 2.56%
#F2D60C color CMYK value is (0,12,95,5).
CMYK: (0,12,95,5) C0M12Y95K5 (0%,12%,95%,5%) (0.00/0.12/0.95/0.05)
F2 | D6 | 0C | |
---|---|---|---|
RGB | 242 | 214 | 12 |
HSL | 53° | 90.55% | 49.80% |
HSB/HSV | 53° | 95.04% | 94.90% |
CMYK | 0.00% | 11.57% | 95.04% |
5.10% |
HEX | F2 | D6 | 0C |
Decimal | 242 | 214 | 12 |
Binary | 11110010 | 11010110 | 1100 |
Octal | 362 | 326 | 14 |
Examples of css and html codes for elements with #F2D60C color. Also use rgb(242,214,12) instead hex code.
.myTextColor { color: #F2D60C; }
<p style="color:#F2D60C">This sample text font color is #F2D60C.</p>
This text font color is #F2D60C.
.myBgColor { background-color: #F2D60C; }
<div style="background-color:#F2D60C">Inner text</div>
This div background color is #F2D60C.
.myBorderColor { border: 1px solid #F2D60C; }
<div style="border:3px solid #F2D60C">Div</div>
This div border color is #F2D60C.
.myOpacity80 { color: #F2D60C; opacity: 0.8; }
<p style="color:#F2D60C;opacity:0.8;">80%</p>
Text with #F2D60C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2D60C;}
<p style="text-shadow: 3px 3px 1px #F2D60C">Text here.</p>
This text has shadow with #F2D60C color.
.textShadow {text-shadow: 3px 3px 1px #F2D60C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2D60C, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2D60C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2D60C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2D60C, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2D60C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2D60C; -webkit-box-shadow: 1px 1px 3px 2px #F2D60C; box-shadow: 1px 1px 3px 2px #F2D60C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2D60C; -webkit-box-shadow: 1px 1px 3px 2px #F2D60C; box-shadow:1px 1px 3px 2px #F2D60C;">
Div content here</div>
This text has color #F2D60C on black background.
This text has color #F2D60C on white background.
This text has black color on #F2D60C background.
This text has white color on #F2D60C background.