HEX: #F2DD7C
RGB: (242,221,124)
#F2DD7C contains mainly red and green colors. Web safe color of #F2DD7C is #FFCC66 (or #FC6).
#F2DD7C color RGB value is (242,221,124).
RGB: (242,221,124) (95%,87%,49%)
R 242 of 255 = 95%
G 221 of 255 = 87%
B 124 of 255 = 49%
R + G + B ~ 77%. #F2DD7C is quite light color.
R + G + B =
242 + 221 + 124 = 587 (100%)
R 242 of 587 ~ 41.23%
G 221 of 587 ~ 37.65%
B 124 of 587 ~ 21.12%
#F2DD7C color CMYK value is (0,9,49,5).
CMYK: (0,9,49,5) C0M9Y49K5 (0%,9%,49%,5%) (0.00/0.09/0.49/0.05)
F2 | DD | 7C | |
---|---|---|---|
RGB | 242 | 221 | 124 |
HSL | 49° | 81.94% | 71.76% |
HSB/HSV | 49° | 48.76% | 94.90% |
CMYK | 0.00% | 8.68% | 48.76% |
5.10% |
HEX | F2 | DD | 7C |
Decimal | 242 | 221 | 124 |
Binary | 11110010 | 11011101 | 1111100 |
Octal | 362 | 335 | 174 |
Examples of css and html codes for elements with #F2DD7C color. Also use rgb(242,221,124) instead hex code.
.myTextColor { color: #F2DD7C; }
<p style="color:#F2DD7C">This sample text font color is #F2DD7C.</p>
This text font color is #F2DD7C.
.myBgColor { background-color: #F2DD7C; }
<div style="background-color:#F2DD7C">Inner text</div>
This div background color is #F2DD7C.
.myBorderColor { border: 1px solid #F2DD7C; }
<div style="border:3px solid #F2DD7C">Div</div>
This div border color is #F2DD7C.
.myOpacity80 { color: #F2DD7C; opacity: 0.8; }
<p style="color:#F2DD7C;opacity:0.8;">80%</p>
Text with #F2DD7C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2DD7C;}
<p style="text-shadow: 3px 3px 1px #F2DD7C">Text here.</p>
This text has shadow with #F2DD7C color.
.textShadow {text-shadow: 3px 3px 1px #F2DD7C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2DD7C, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2DD7C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2DD7C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2DD7C, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2DD7C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2DD7C; -webkit-box-shadow: 1px 1px 3px 2px #F2DD7C; box-shadow: 1px 1px 3px 2px #F2DD7C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2DD7C; -webkit-box-shadow: 1px 1px 3px 2px #F2DD7C; box-shadow:1px 1px 3px 2px #F2DD7C;">
Div content here</div>
This text has color #F2DD7C on black background.
This text has color #F2DD7C on white background.
This text has black color on #F2DD7C background.
This text has white color on #F2DD7C background.