HEX: #F6D716
RGB: (246,215,22)
#F6D716 contains mainly red and green colors. Web safe color of #F6D716 is #FFCC00 (or #FC0).
#F6D716 color RGB value is (246,215,22).
RGB: (246,215,22) (96%,84%,9%)
R 246 of 255 = 96%
G 215 of 255 = 84%
B 22 of 255 = 9%
R + G + B ~ 63%. #F6D716 is quite light color.
R + G + B =
246 + 215 + 22 = 483 (100%)
R 246 of 483 ~ 50.93%
G 215 of 483 ~ 44.51%
B 22 of 483 ~ 4.55%
#F6D716 color CMYK value is (0,13,91,4).
CMYK: (0,13,91,4) C0M13Y91K4 (0%,13%,91%,4%) (0.00/0.13/0.91/0.04)
F6 | D7 | 16 | |
---|---|---|---|
RGB | 246 | 215 | 22 |
HSL | 52° | 92.56% | 52.55% |
HSB/HSV | 52° | 91.06% | 96.47% |
CMYK | 0.00% | 12.60% | 91.06% |
3.53% |
HEX | F6 | D7 | 16 |
Decimal | 246 | 215 | 22 |
Binary | 11110110 | 11010111 | 10110 |
Octal | 366 | 327 | 26 |
Examples of css and html codes for elements with #F6D716 color. Also use rgb(246,215,22) instead hex code.
.myTextColor { color: #F6D716; }
<p style="color:#F6D716">This sample text font color is #F6D716.</p>
This text font color is #F6D716.
.myBgColor { background-color: #F6D716; }
<div style="background-color:#F6D716">Inner text</div>
This div background color is #F6D716.
.myBorderColor { border: 1px solid #F6D716; }
<div style="border:3px solid #F6D716">Div</div>
This div border color is #F6D716.
.myOpacity80 { color: #F6D716; opacity: 0.8; }
<p style="color:#F6D716;opacity:0.8;">80%</p>
Text with #F6D716 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F6D716;}
<p style="text-shadow: 3px 3px 1px #F6D716">Text here.</p>
This text has shadow with #F6D716 color.
.textShadow {text-shadow: 3px 3px 1px #F6D716, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F6D716, 5px 5px 20px red">Text here.</p>
This text has shadow with #F6D716 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F6D716, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F6D716, Direction=45, Strength=4)">Text</p>
This text has shadow with #F6D716 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F6D716; -webkit-box-shadow: 1px 1px 3px 2px #F6D716; box-shadow: 1px 1px 3px 2px #F6D716; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F6D716; -webkit-box-shadow: 1px 1px 3px 2px #F6D716; box-shadow:1px 1px 3px 2px #F6D716;">
Div content here</div>
This text has color #F6D716 on black background.
This text has color #F6D716 on white background.
This text has black color on #F6D716 background.
This text has white color on #F6D716 background.