HEX: #F2DD6A
RGB: (242,221,106)
#F2DD6A contains mainly red and green colors. Web safe color of #F2DD6A is #FFCC66 (or #FC6).
#F2DD6A color RGB value is (242,221,106).
RGB: (242,221,106) (95%,87%,42%)
R 242 of 255 = 95%
G 221 of 255 = 87%
B 106 of 255 = 42%
R + G + B ~ 75%. #F2DD6A is quite light color.
R + G + B =
242 + 221 + 106 = 569 (100%)
R 242 of 569 ~ 42.53%
G 221 of 569 ~ 38.84%
B 106 of 569 ~ 18.63%
#F2DD6A color CMYK value is (0,9,56,5).
CMYK: (0,9,56,5) C0M9Y56K5 (0%,9%,56%,5%) (0.00/0.09/0.56/0.05)
F2 | DD | 6A | |
---|---|---|---|
RGB | 242 | 221 | 106 |
HSL | 51° | 83.95% | 68.24% |
HSB/HSV | 51° | 56.20% | 94.90% |
CMYK | 0.00% | 8.68% | 56.20% |
5.10% |
HEX | F2 | DD | 6A |
Decimal | 242 | 221 | 106 |
Binary | 11110010 | 11011101 | 1101010 |
Octal | 362 | 335 | 152 |
Examples of css and html codes for elements with #F2DD6A color. Also use rgb(242,221,106) instead hex code.
.myTextColor { color: #F2DD6A; }
<p style="color:#F2DD6A">This sample text font color is #F2DD6A.</p>
This text font color is #F2DD6A.
.myBgColor { background-color: #F2DD6A; }
<div style="background-color:#F2DD6A">Inner text</div>
This div background color is #F2DD6A.
.myBorderColor { border: 1px solid #F2DD6A; }
<div style="border:3px solid #F2DD6A">Div</div>
This div border color is #F2DD6A.
.myOpacity80 { color: #F2DD6A; opacity: 0.8; }
<p style="color:#F2DD6A;opacity:0.8;">80%</p>
Text with #F2DD6A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2DD6A;}
<p style="text-shadow: 3px 3px 1px #F2DD6A">Text here.</p>
This text has shadow with #F2DD6A color.
.textShadow {text-shadow: 3px 3px 1px #F2DD6A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2DD6A, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2DD6A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2DD6A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2DD6A, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2DD6A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2DD6A; -webkit-box-shadow: 1px 1px 3px 2px #F2DD6A; box-shadow: 1px 1px 3px 2px #F2DD6A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2DD6A; -webkit-box-shadow: 1px 1px 3px 2px #F2DD6A; box-shadow:1px 1px 3px 2px #F2DD6A;">
Div content here</div>
This text has color #F2DD6A on black background.
This text has color #F2DD6A on white background.
This text has black color on #F2DD6A background.
This text has white color on #F2DD6A background.