HEX: #F9DB78
RGB: (249,219,120)
#F9DB78 contains mainly red and green colors. Web safe color of #F9DB78 is #FFCC66 (or #FC6).
#F9DB78 color RGB value is (249,219,120).
RGB: (249,219,120) (98%,86%,47%)
R 249 of 255 = 98%
G 219 of 255 = 86%
B 120 of 255 = 47%
R + G + B ~ 77%. #F9DB78 is quite light color.
R + G + B =
249 + 219 + 120 = 588 (100%)
R 249 of 588 ~ 42.35%
G 219 of 588 ~ 37.24%
B 120 of 588 ~ 20.41%
#F9DB78 color CMYK value is (0,12,52,2).
CMYK: (0,12,52,2) C0M12Y52K2 (0%,12%,52%,2%) (0.00/0.12/0.52/0.02)
F9 | DB | 78 | |
---|---|---|---|
RGB | 249 | 219 | 120 |
HSL | 46° | 91.49% | 72.35% |
HSB/HSV | 46° | 51.81% | 97.65% |
CMYK | 0.00% | 12.05% | 51.81% |
2.35% |
HEX | F9 | DB | 78 |
Decimal | 249 | 219 | 120 |
Binary | 11111001 | 11011011 | 1111000 |
Octal | 371 | 333 | 170 |
Examples of css and html codes for elements with #F9DB78 color. Also use rgb(249,219,120) instead hex code.
.myTextColor { color: #F9DB78; }
<p style="color:#F9DB78">This sample text font color is #F9DB78.</p>
This text font color is #F9DB78.
.myBgColor { background-color: #F9DB78; }
<div style="background-color:#F9DB78">Inner text</div>
This div background color is #F9DB78.
.myBorderColor { border: 1px solid #F9DB78; }
<div style="border:3px solid #F9DB78">Div</div>
This div border color is #F9DB78.
.myOpacity80 { color: #F9DB78; opacity: 0.8; }
<p style="color:#F9DB78;opacity:0.8;">80%</p>
Text with #F9DB78 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F9DB78;}
<p style="text-shadow: 3px 3px 1px #F9DB78">Text here.</p>
This text has shadow with #F9DB78 color.
.textShadow {text-shadow: 3px 3px 1px #F9DB78, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F9DB78, 5px 5px 20px red">Text here.</p>
This text has shadow with #F9DB78 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F9DB78, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F9DB78, Direction=45, Strength=4)">Text</p>
This text has shadow with #F9DB78 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F9DB78; -webkit-box-shadow: 1px 1px 3px 2px #F9DB78; box-shadow: 1px 1px 3px 2px #F9DB78; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F9DB78; -webkit-box-shadow: 1px 1px 3px 2px #F9DB78; box-shadow:1px 1px 3px 2px #F9DB78;">
Div content here</div>
This text has color #F9DB78 on black background.
This text has color #F9DB78 on white background.
This text has black color on #F9DB78 background.
This text has white color on #F9DB78 background.