HEX: #F2D889
RGB: (242,216,137)
#F2D889 contains mainly red and green colors. Web safe color of #F2D889 is #FFCC99 (or #FC9).
#F2D889 color RGB value is (242,216,137).
RGB: (242,216,137) (95%,85%,54%)
R 242 of 255 = 95%
G 216 of 255 = 85%
B 137 of 255 = 54%
R + G + B ~ 78%. #F2D889 is quite light color.
R + G + B =
242 + 216 + 137 = 595 (100%)
R 242 of 595 ~ 40.67%
G 216 of 595 ~ 36.3%
B 137 of 595 ~ 23.03%
#F2D889 color CMYK value is (0,11,43,5).
CMYK: (0,11,43,5) C0M11Y43K5 (0%,11%,43%,5%) (0.00/0.11/0.43/0.05)
F2 | D8 | 89 | |
---|---|---|---|
RGB | 242 | 216 | 137 |
HSL | 45° | 80.15% | 74.31% |
HSB/HSV | 45° | 43.39% | 94.90% |
CMYK | 0.00% | 10.74% | 43.39% |
5.10% |
HEX | F2 | D8 | 89 |
Decimal | 242 | 216 | 137 |
Binary | 11110010 | 11011000 | 10001001 |
Octal | 362 | 330 | 211 |
Examples of css and html codes for elements with #F2D889 color. Also use rgb(242,216,137) instead hex code.
.myTextColor { color: #F2D889; }
<p style="color:#F2D889">This sample text font color is #F2D889.</p>
This text font color is #F2D889.
.myBgColor { background-color: #F2D889; }
<div style="background-color:#F2D889">Inner text</div>
This div background color is #F2D889.
.myBorderColor { border: 1px solid #F2D889; }
<div style="border:3px solid #F2D889">Div</div>
This div border color is #F2D889.
.myOpacity80 { color: #F2D889; opacity: 0.8; }
<p style="color:#F2D889;opacity:0.8;">80%</p>
Text with #F2D889 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2D889;}
<p style="text-shadow: 3px 3px 1px #F2D889">Text here.</p>
This text has shadow with #F2D889 color.
.textShadow {text-shadow: 3px 3px 1px #F2D889, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2D889, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2D889 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2D889, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2D889, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2D889 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2D889; -webkit-box-shadow: 1px 1px 3px 2px #F2D889; box-shadow: 1px 1px 3px 2px #F2D889; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2D889; -webkit-box-shadow: 1px 1px 3px 2px #F2D889; box-shadow:1px 1px 3px 2px #F2D889;">
Div content here</div>
This text has color #F2D889 on black background.
This text has color #F2D889 on white background.
This text has black color on #F2D889 background.
This text has white color on #F2D889 background.