HEX: #F6E272
RGB: (246,226,114)
#F6E272 contains mainly red and green colors. Web safe color of #F6E272 is #FFCC66 (or #FC6).
#F6E272 color RGB value is (246,226,114).
RGB: (246,226,114) (96%,89%,45%)
R 246 of 255 = 96%
G 226 of 255 = 89%
B 114 of 255 = 45%
R + G + B ~ 77%. #F6E272 is quite light color.
R + G + B =
246 + 226 + 114 = 586 (100%)
R 246 of 586 ~ 41.98%
G 226 of 586 ~ 38.57%
B 114 of 586 ~ 19.45%
#F6E272 color CMYK value is (0,8,54,4).
CMYK: (0,8,54,4) C0M8Y54K4 (0%,8%,54%,4%) (0.00/0.08/0.54/0.04)
F6 | E2 | 72 | |
---|---|---|---|
RGB | 246 | 226 | 114 |
HSL | 51° | 88.00% | 70.59% |
HSB/HSV | 51° | 53.66% | 96.47% |
CMYK | 0.00% | 8.13% | 53.66% |
3.53% |
HEX | F6 | E2 | 72 |
Decimal | 246 | 226 | 114 |
Binary | 11110110 | 11100010 | 1110010 |
Octal | 366 | 342 | 162 |
Examples of css and html codes for elements with #F6E272 color. Also use rgb(246,226,114) instead hex code.
.myTextColor { color: #F6E272; }
<p style="color:#F6E272">This sample text font color is #F6E272.</p>
This text font color is #F6E272.
.myBgColor { background-color: #F6E272; }
<div style="background-color:#F6E272">Inner text</div>
This div background color is #F6E272.
.myBorderColor { border: 1px solid #F6E272; }
<div style="border:3px solid #F6E272">Div</div>
This div border color is #F6E272.
.myOpacity80 { color: #F6E272; opacity: 0.8; }
<p style="color:#F6E272;opacity:0.8;">80%</p>
Text with #F6E272 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F6E272;}
<p style="text-shadow: 3px 3px 1px #F6E272">Text here.</p>
This text has shadow with #F6E272 color.
.textShadow {text-shadow: 3px 3px 1px #F6E272, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F6E272, 5px 5px 20px red">Text here.</p>
This text has shadow with #F6E272 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F6E272, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F6E272, Direction=45, Strength=4)">Text</p>
This text has shadow with #F6E272 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F6E272; -webkit-box-shadow: 1px 1px 3px 2px #F6E272; box-shadow: 1px 1px 3px 2px #F6E272; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F6E272; -webkit-box-shadow: 1px 1px 3px 2px #F6E272; box-shadow:1px 1px 3px 2px #F6E272;">
Div content here</div>
This text has color #F6E272 on black background.
This text has color #F6E272 on white background.
This text has black color on #F6E272 background.
This text has white color on #F6E272 background.