HEX: #F0C174
RGB: (240,193,116)
#F0C174 contains mainly red and green colors. Web safe color of #F0C174 is #FFCC66 (or #FC6).
#F0C174 color RGB value is (240,193,116).
RGB: (240,193,116) (94%,76%,45%)
R 240 of 255 = 94%
G 193 of 255 = 76%
B 116 of 255 = 45%
R + G + B ~ 72%. #F0C174 is quite light color.
R + G + B =
240 + 193 + 116 = 549 (100%)
R 240 of 549 ~ 43.72%
G 193 of 549 ~ 35.15%
B 116 of 549 ~ 21.13%
#F0C174 color CMYK value is (0,20,52,6).
CMYK: (0,20,52,6) C0M20Y52K6 (0%,20%,52%,6%) (0.00/0.20/0.52/0.06)
F0 | C1 | 74 | |
---|---|---|---|
RGB | 240 | 193 | 116 |
HSL | 37° | 80.52% | 69.80% |
HSB/HSV | 37° | 51.67% | 94.12% |
CMYK | 0.00% | 19.58% | 51.67% |
5.88% |
HEX | F0 | C1 | 74 |
Decimal | 240 | 193 | 116 |
Binary | 11110000 | 11000001 | 1110100 |
Octal | 360 | 301 | 164 |
Examples of css and html codes for elements with #F0C174 color. Also use rgb(240,193,116) instead hex code.
.myTextColor { color: #F0C174; }
<p style="color:#F0C174">This sample text font color is #F0C174.</p>
This text font color is #F0C174.
.myBgColor { background-color: #F0C174; }
<div style="background-color:#F0C174">Inner text</div>
This div background color is #F0C174.
.myBorderColor { border: 1px solid #F0C174; }
<div style="border:3px solid #F0C174">Div</div>
This div border color is #F0C174.
.myOpacity80 { color: #F0C174; opacity: 0.8; }
<p style="color:#F0C174;opacity:0.8;">80%</p>
Text with #F0C174 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0C174;}
<p style="text-shadow: 3px 3px 1px #F0C174">Text here.</p>
This text has shadow with #F0C174 color.
.textShadow {text-shadow: 3px 3px 1px #F0C174, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0C174, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0C174 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0C174, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0C174, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0C174 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0C174; -webkit-box-shadow: 1px 1px 3px 2px #F0C174; box-shadow: 1px 1px 3px 2px #F0C174; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0C174; -webkit-box-shadow: 1px 1px 3px 2px #F0C174; box-shadow:1px 1px 3px 2px #F0C174;">
Div content here</div>
This text has color #F0C174 on black background.
This text has color #F0C174 on white background.
This text has black color on #F0C174 background.
This text has white color on #F0C174 background.