HEX: #F2DF95
RGB: (242,223,149)
#F2DF95 contains mainly red and green colors. Web safe color of #F2DF95 is #FFCC99 (or #FC9).
#F2DF95 color RGB value is (242,223,149).
RGB: (242,223,149) (95%,87%,58%)
R 242 of 255 = 95%
G 223 of 255 = 87%
B 149 of 255 = 58%
R + G + B ~ 80%. #F2DF95 is quite light color.
R + G + B =
242 + 223 + 149 = 614 (100%)
R 242 of 614 ~ 39.41%
G 223 of 614 ~ 36.32%
B 149 of 614 ~ 24.27%
#F2DF95 color CMYK value is (0,8,38,5).
CMYK: (0,8,38,5) C0M8Y38K5 (0%,8%,38%,5%) (0.00/0.08/0.38/0.05)
F2 | DF | 95 | |
---|---|---|---|
RGB | 242 | 223 | 149 |
HSL | 48° | 78.15% | 76.67% |
HSB/HSV | 48° | 38.43% | 94.90% |
CMYK | 0.00% | 7.85% | 38.43% |
5.10% |
HEX | F2 | DF | 95 |
Decimal | 242 | 223 | 149 |
Binary | 11110010 | 11011111 | 10010101 |
Octal | 362 | 337 | 225 |
Examples of css and html codes for elements with #F2DF95 color. Also use rgb(242,223,149) instead hex code.
.myTextColor { color: #F2DF95; }
<p style="color:#F2DF95">This sample text font color is #F2DF95.</p>
This text font color is #F2DF95.
.myBgColor { background-color: #F2DF95; }
<div style="background-color:#F2DF95">Inner text</div>
This div background color is #F2DF95.
.myBorderColor { border: 1px solid #F2DF95; }
<div style="border:3px solid #F2DF95">Div</div>
This div border color is #F2DF95.
.myOpacity80 { color: #F2DF95; opacity: 0.8; }
<p style="color:#F2DF95;opacity:0.8;">80%</p>
Text with #F2DF95 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2DF95;}
<p style="text-shadow: 3px 3px 1px #F2DF95">Text here.</p>
This text has shadow with #F2DF95 color.
.textShadow {text-shadow: 3px 3px 1px #F2DF95, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2DF95, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2DF95 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2DF95, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2DF95, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2DF95 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2DF95; -webkit-box-shadow: 1px 1px 3px 2px #F2DF95; box-shadow: 1px 1px 3px 2px #F2DF95; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2DF95; -webkit-box-shadow: 1px 1px 3px 2px #F2DF95; box-shadow:1px 1px 3px 2px #F2DF95;">
Div content here</div>
This text has color #F2DF95 on black background.
This text has color #F2DF95 on white background.
This text has black color on #F2DF95 background.
This text has white color on #F2DF95 background.