HEX: #F0D226
RGB: (240,210,38)
#F0D226 contains mainly red and green colors. Web safe color of #F0D226 is #FFCC33 (or #FC3).
#F0D226 color RGB value is (240,210,38).
RGB: (240,210,38) (94%,82%,15%)
R 240 of 255 = 94%
G 210 of 255 = 82%
B 38 of 255 = 15%
R + G + B ~ 64%. #F0D226 is quite light color.
R + G + B =
240 + 210 + 38 = 488 (100%)
R 240 of 488 ~ 49.18%
G 210 of 488 ~ 43.03%
B 38 of 488 ~ 7.79%
#F0D226 color CMYK value is (0,13,84,6).
CMYK: (0,13,84,6) C0M13Y84K6 (0%,13%,84%,6%) (0.00/0.13/0.84/0.06)
F0 | D2 | 26 | |
---|---|---|---|
RGB | 240 | 210 | 38 |
HSL | 51° | 87.07% | 54.51% |
HSB/HSV | 51° | 84.17% | 94.12% |
CMYK | 0.00% | 12.50% | 84.17% |
5.88% |
HEX | F0 | D2 | 26 |
Decimal | 240 | 210 | 38 |
Binary | 11110000 | 11010010 | 100110 |
Octal | 360 | 322 | 46 |
Examples of css and html codes for elements with #F0D226 color. Also use rgb(240,210,38) instead hex code.
.myTextColor { color: #F0D226; }
<p style="color:#F0D226">This sample text font color is #F0D226.</p>
This text font color is #F0D226.
.myBgColor { background-color: #F0D226; }
<div style="background-color:#F0D226">Inner text</div>
This div background color is #F0D226.
.myBorderColor { border: 1px solid #F0D226; }
<div style="border:3px solid #F0D226">Div</div>
This div border color is #F0D226.
.myOpacity80 { color: #F0D226; opacity: 0.8; }
<p style="color:#F0D226;opacity:0.8;">80%</p>
Text with #F0D226 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0D226;}
<p style="text-shadow: 3px 3px 1px #F0D226">Text here.</p>
This text has shadow with #F0D226 color.
.textShadow {text-shadow: 3px 3px 1px #F0D226, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0D226, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0D226 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0D226, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0D226, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0D226 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0D226; -webkit-box-shadow: 1px 1px 3px 2px #F0D226; box-shadow: 1px 1px 3px 2px #F0D226; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0D226; -webkit-box-shadow: 1px 1px 3px 2px #F0D226; box-shadow:1px 1px 3px 2px #F0D226;">
Div content here</div>
This text has color #F0D226 on black background.
This text has color #F0D226 on white background.
This text has black color on #F0D226 background.
This text has white color on #F0D226 background.