HEX: #F0C772
RGB: (240,199,114)
#F0C772 contains mainly red and green colors. Web safe color of #F0C772 is #FFCC66 (or #FC6).
#F0C772 color RGB value is (240,199,114).
RGB: (240,199,114) (94%,78%,45%)
R 240 of 255 = 94%
G 199 of 255 = 78%
B 114 of 255 = 45%
R + G + B ~ 72%. #F0C772 is quite light color.
R + G + B =
240 + 199 + 114 = 553 (100%)
R 240 of 553 ~ 43.4%
G 199 of 553 ~ 35.99%
B 114 of 553 ~ 20.61%
#F0C772 color CMYK value is (0,17,53,6).
CMYK: (0,17,53,6) C0M17Y53K6 (0%,17%,53%,6%) (0.00/0.17/0.53/0.06)
F0 | C7 | 72 | |
---|---|---|---|
RGB | 240 | 199 | 114 |
HSL | 40° | 80.77% | 69.41% |
HSB/HSV | 40° | 52.50% | 94.12% |
CMYK | 0.00% | 17.08% | 52.50% |
5.88% |
HEX | F0 | C7 | 72 |
Decimal | 240 | 199 | 114 |
Binary | 11110000 | 11000111 | 1110010 |
Octal | 360 | 307 | 162 |
Examples of css and html codes for elements with #F0C772 color. Also use rgb(240,199,114) instead hex code.
.myTextColor { color: #F0C772; }
<p style="color:#F0C772">This sample text font color is #F0C772.</p>
This text font color is #F0C772.
.myBgColor { background-color: #F0C772; }
<div style="background-color:#F0C772">Inner text</div>
This div background color is #F0C772.
.myBorderColor { border: 1px solid #F0C772; }
<div style="border:3px solid #F0C772">Div</div>
This div border color is #F0C772.
.myOpacity80 { color: #F0C772; opacity: 0.8; }
<p style="color:#F0C772;opacity:0.8;">80%</p>
Text with #F0C772 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0C772;}
<p style="text-shadow: 3px 3px 1px #F0C772">Text here.</p>
This text has shadow with #F0C772 color.
.textShadow {text-shadow: 3px 3px 1px #F0C772, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0C772, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0C772 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0C772, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0C772, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0C772 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0C772; -webkit-box-shadow: 1px 1px 3px 2px #F0C772; box-shadow: 1px 1px 3px 2px #F0C772; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0C772; -webkit-box-shadow: 1px 1px 3px 2px #F0C772; box-shadow:1px 1px 3px 2px #F0C772;">
Div content here</div>
This text has color #F0C772 on black background.
This text has color #F0C772 on white background.
This text has black color on #F0C772 background.
This text has white color on #F0C772 background.