HEX: #F0D638
RGB: (240,214,56)
#F0D638 contains mainly red and green colors. Web safe color of #F0D638 is #FFCC33 (or #FC3).
#F0D638 color RGB value is (240,214,56).
RGB: (240,214,56) (94%,84%,22%)
R 240 of 255 = 94%
G 214 of 255 = 84%
B 56 of 255 = 22%
R + G + B ~ 67%. #F0D638 is quite light color.
R + G + B =
240 + 214 + 56 = 510 (100%)
R 240 of 510 ~ 47.06%
G 214 of 510 ~ 41.96%
B 56 of 510 ~ 10.98%
#F0D638 color CMYK value is (0,11,77,6).
CMYK: (0,11,77,6) C0M11Y77K6 (0%,11%,77%,6%) (0.00/0.11/0.77/0.06)
F0 | D6 | 38 | |
---|---|---|---|
RGB | 240 | 214 | 56 |
HSL | 52° | 85.98% | 58.04% |
HSB/HSV | 52° | 76.67% | 94.12% |
CMYK | 0.00% | 10.83% | 76.67% |
5.88% |
HEX | F0 | D6 | 38 |
Decimal | 240 | 214 | 56 |
Binary | 11110000 | 11010110 | 111000 |
Octal | 360 | 326 | 70 |
Examples of css and html codes for elements with #F0D638 color. Also use rgb(240,214,56) instead hex code.
.myTextColor { color: #F0D638; }
<p style="color:#F0D638">This sample text font color is #F0D638.</p>
This text font color is #F0D638.
.myBgColor { background-color: #F0D638; }
<div style="background-color:#F0D638">Inner text</div>
This div background color is #F0D638.
.myBorderColor { border: 1px solid #F0D638; }
<div style="border:3px solid #F0D638">Div</div>
This div border color is #F0D638.
.myOpacity80 { color: #F0D638; opacity: 0.8; }
<p style="color:#F0D638;opacity:0.8;">80%</p>
Text with #F0D638 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0D638;}
<p style="text-shadow: 3px 3px 1px #F0D638">Text here.</p>
This text has shadow with #F0D638 color.
.textShadow {text-shadow: 3px 3px 1px #F0D638, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0D638, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0D638 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0D638, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0D638, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0D638 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0D638; -webkit-box-shadow: 1px 1px 3px 2px #F0D638; box-shadow: 1px 1px 3px 2px #F0D638; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0D638; -webkit-box-shadow: 1px 1px 3px 2px #F0D638; box-shadow:1px 1px 3px 2px #F0D638;">
Div content here</div>
This text has color #F0D638 on black background.
This text has color #F0D638 on white background.
This text has black color on #F0D638 background.
This text has white color on #F0D638 background.