HEX: #F2B4CC
RGB: (242,180,204)
#F2B4CC contains mainly red and blue colors. Web safe color of #F2B4CC is #FFCCCC (or #FCC).
#F2B4CC color RGB value is (242,180,204).
RGB: (242,180,204) (95%,71%,80%)
R 242 of 255 = 95%
G 180 of 255 = 71%
B 204 of 255 = 80%
R + G + B ~ 82%. #F2B4CC is quite light color.
R + G + B =
242 + 180 + 204 = 626 (100%)
R 242 of 626 ~ 38.66%
G 180 of 626 ~ 28.75%
B 204 of 626 ~ 32.59%
#F2B4CC color CMYK value is (0,26,16,5).
CMYK: (0,26,16,5) C0M26Y16K5 (0%,26%,16%,5%) (0.00/0.26/0.16/0.05)
F2 | B4 | CC | |
---|---|---|---|
RGB | 242 | 180 | 204 |
HSL | 337° | 70.45% | 82.75% |
HSB/HSV | 337° | 25.62% | 94.90% |
CMYK | 0.00% | 25.62% | 15.70% |
5.10% |
HEX | F2 | B4 | CC |
Decimal | 242 | 180 | 204 |
Binary | 11110010 | 10110100 | 11001100 |
Octal | 362 | 264 | 314 |
Examples of css and html codes for elements with #F2B4CC color. Also use rgb(242,180,204) instead hex code.
.myTextColor { color: #F2B4CC; }
<p style="color:#F2B4CC">This sample text font color is #F2B4CC.</p>
This text font color is #F2B4CC.
.myBgColor { background-color: #F2B4CC; }
<div style="background-color:#F2B4CC">Inner text</div>
This div background color is #F2B4CC.
.myBorderColor { border: 1px solid #F2B4CC; }
<div style="border:3px solid #F2B4CC">Div</div>
This div border color is #F2B4CC.
.myOpacity80 { color: #F2B4CC; opacity: 0.8; }
<p style="color:#F2B4CC;opacity:0.8;">80%</p>
Text with #F2B4CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2B4CC;}
<p style="text-shadow: 3px 3px 1px #F2B4CC">Text here.</p>
This text has shadow with #F2B4CC color.
.textShadow {text-shadow: 3px 3px 1px #F2B4CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2B4CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2B4CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2B4CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2B4CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2B4CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2B4CC; -webkit-box-shadow: 1px 1px 3px 2px #F2B4CC; box-shadow: 1px 1px 3px 2px #F2B4CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2B4CC; -webkit-box-shadow: 1px 1px 3px 2px #F2B4CC; box-shadow:1px 1px 3px 2px #F2B4CC;">
Div content here</div>
This text has color #F2B4CC on black background.
This text has color #F2B4CC on white background.
This text has black color on #F2B4CC background.
This text has white color on #F2B4CC background.