HEX: #F2DB3B
RGB: (242,219,59)
#F2DB3B contains mainly red and green colors. Web safe color of #F2DB3B is #FFCC33 (or #FC3).
#F2DB3B color RGB value is (242,219,59).
RGB: (242,219,59) (95%,86%,23%)
R 242 of 255 = 95%
G 219 of 255 = 86%
B 59 of 255 = 23%
R + G + B ~ 68%. #F2DB3B is quite light color.
R + G + B =
242 + 219 + 59 = 520 (100%)
R 242 of 520 ~ 46.54%
G 219 of 520 ~ 42.12%
B 59 of 520 ~ 11.35%
#F2DB3B color CMYK value is (0,10,76,5).
CMYK: (0,10,76,5) C0M10Y76K5 (0%,10%,76%,5%) (0.00/0.10/0.76/0.05)
F2 | DB | 3B | |
---|---|---|---|
RGB | 242 | 219 | 59 |
HSL | 52° | 87.56% | 59.02% |
HSB/HSV | 52° | 75.62% | 94.90% |
CMYK | 0.00% | 9.50% | 75.62% |
5.10% |
HEX | F2 | DB | 3B |
Decimal | 242 | 219 | 59 |
Binary | 11110010 | 11011011 | 111011 |
Octal | 362 | 333 | 73 |
Examples of css and html codes for elements with #F2DB3B color. Also use rgb(242,219,59) instead hex code.
.myTextColor { color: #F2DB3B; }
<p style="color:#F2DB3B">This sample text font color is #F2DB3B.</p>
This text font color is #F2DB3B.
.myBgColor { background-color: #F2DB3B; }
<div style="background-color:#F2DB3B">Inner text</div>
This div background color is #F2DB3B.
.myBorderColor { border: 1px solid #F2DB3B; }
<div style="border:3px solid #F2DB3B">Div</div>
This div border color is #F2DB3B.
.myOpacity80 { color: #F2DB3B; opacity: 0.8; }
<p style="color:#F2DB3B;opacity:0.8;">80%</p>
Text with #F2DB3B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2DB3B;}
<p style="text-shadow: 3px 3px 1px #F2DB3B">Text here.</p>
This text has shadow with #F2DB3B color.
.textShadow {text-shadow: 3px 3px 1px #F2DB3B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2DB3B, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2DB3B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2DB3B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2DB3B, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2DB3B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2DB3B; -webkit-box-shadow: 1px 1px 3px 2px #F2DB3B; box-shadow: 1px 1px 3px 2px #F2DB3B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2DB3B; -webkit-box-shadow: 1px 1px 3px 2px #F2DB3B; box-shadow:1px 1px 3px 2px #F2DB3B;">
Div content here</div>
This text has color #F2DB3B on black background.
This text has color #F2DB3B on white background.
This text has black color on #F2DB3B background.
This text has white color on #F2DB3B background.