HEX: #F2DCC2
RGB: (242,220,194)
#F2DCC2 contains red, green and blue colors in about the same proportion. Web safe color of #F2DCC2 is #FFCCCC (or #FCC).
#F2DCC2 color RGB value is (242,220,194).
RGB: (242,220,194) (95%,86%,76%)
R 242 of 255 = 95%
G 220 of 255 = 86%
B 194 of 255 = 76%
R + G + B ~ 86%. #F2DCC2 is light color.
R + G + B =
242 + 220 + 194 = 656 (100%)
R 242 of 656 ~ 36.89%
G 220 of 656 ~ 33.54%
B 194 of 656 ~ 29.57%
#F2DCC2 color CMYK value is (0,9,20,5).
CMYK: (0,9,20,5) C0M9Y20K5 (0%,9%,20%,5%) (0.00/0.09/0.20/0.05)
F2 | DC | C2 | |
---|---|---|---|
RGB | 242 | 220 | 194 |
HSL | 33° | 64.86% | 85.49% |
HSB/HSV | 33° | 19.83% | 94.90% |
CMYK | 0.00% | 9.09% | 19.83% |
5.10% |
HEX | F2 | DC | C2 |
Decimal | 242 | 220 | 194 |
Binary | 11110010 | 11011100 | 11000010 |
Octal | 362 | 334 | 302 |
Examples of css and html codes for elements with #F2DCC2 color. Also use rgb(242,220,194) instead hex code.
.myTextColor { color: #F2DCC2; }
<p style="color:#F2DCC2">This sample text font color is #F2DCC2.</p>
This text font color is #F2DCC2.
.myBgColor { background-color: #F2DCC2; }
<div style="background-color:#F2DCC2">Inner text</div>
This div background color is #F2DCC2.
.myBorderColor { border: 1px solid #F2DCC2; }
<div style="border:3px solid #F2DCC2">Div</div>
This div border color is #F2DCC2.
.myOpacity80 { color: #F2DCC2; opacity: 0.8; }
<p style="color:#F2DCC2;opacity:0.8;">80%</p>
Text with #F2DCC2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2DCC2;}
<p style="text-shadow: 3px 3px 1px #F2DCC2">Text here.</p>
This text has shadow with #F2DCC2 color.
.textShadow {text-shadow: 3px 3px 1px #F2DCC2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2DCC2, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2DCC2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2DCC2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2DCC2, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2DCC2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2DCC2; -webkit-box-shadow: 1px 1px 3px 2px #F2DCC2; box-shadow: 1px 1px 3px 2px #F2DCC2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2DCC2; -webkit-box-shadow: 1px 1px 3px 2px #F2DCC2; box-shadow:1px 1px 3px 2px #F2DCC2;">
Div content here</div>
This text has color #F2DCC2 on black background.
This text has color #F2DCC2 on white background.
This text has black color on #F2DCC2 background.
This text has white color on #F2DCC2 background.