HEX: #F6D90C
RGB: (246,217,12)
#F6D90C contains mainly red and green colors. Web safe color of #F6D90C is #FFCC00 (or #FC0).
#F6D90C color RGB value is (246,217,12).
RGB: (246,217,12) (96%,85%,5%)
R 246 of 255 = 96%
G 217 of 255 = 85%
B 12 of 255 = 5%
R + G + B ~ 62%. #F6D90C is quite light color.
R + G + B =
246 + 217 + 12 = 475 (100%)
R 246 of 475 ~ 51.79%
G 217 of 475 ~ 45.68%
B 12 of 475 ~ 2.53%
#F6D90C color CMYK value is (0,12,95,4).
CMYK: (0,12,95,4) C0M12Y95K4 (0%,12%,95%,4%) (0.00/0.12/0.95/0.04)
F6 | D9 | 0C | |
---|---|---|---|
RGB | 246 | 217 | 12 |
HSL | 53° | 92.86% | 50.59% |
HSB/HSV | 53° | 95.12% | 96.47% |
CMYK | 0.00% | 11.79% | 95.12% |
3.53% |
HEX | F6 | D9 | 0C |
Decimal | 246 | 217 | 12 |
Binary | 11110110 | 11011001 | 1100 |
Octal | 366 | 331 | 14 |
Examples of css and html codes for elements with #F6D90C color. Also use rgb(246,217,12) instead hex code.
.myTextColor { color: #F6D90C; }
<p style="color:#F6D90C">This sample text font color is #F6D90C.</p>
This text font color is #F6D90C.
.myBgColor { background-color: #F6D90C; }
<div style="background-color:#F6D90C">Inner text</div>
This div background color is #F6D90C.
.myBorderColor { border: 1px solid #F6D90C; }
<div style="border:3px solid #F6D90C">Div</div>
This div border color is #F6D90C.
.myOpacity80 { color: #F6D90C; opacity: 0.8; }
<p style="color:#F6D90C;opacity:0.8;">80%</p>
Text with #F6D90C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F6D90C;}
<p style="text-shadow: 3px 3px 1px #F6D90C">Text here.</p>
This text has shadow with #F6D90C color.
.textShadow {text-shadow: 3px 3px 1px #F6D90C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F6D90C, 5px 5px 20px red">Text here.</p>
This text has shadow with #F6D90C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F6D90C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F6D90C, Direction=45, Strength=4)">Text</p>
This text has shadow with #F6D90C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F6D90C; -webkit-box-shadow: 1px 1px 3px 2px #F6D90C; box-shadow: 1px 1px 3px 2px #F6D90C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F6D90C; -webkit-box-shadow: 1px 1px 3px 2px #F6D90C; box-shadow:1px 1px 3px 2px #F6D90C;">
Div content here</div>
This text has color #F6D90C on black background.
This text has color #F6D90C on white background.
This text has black color on #F6D90C background.
This text has white color on #F6D90C background.