HEX: #F8B4DB
RGB: (248,180,219)
#F8B4DB contains mainly red and blue colors. Web safe color of #F8B4DB is #FFCCCC (or #FCC).
#F8B4DB color RGB value is (248,180,219).
RGB: (248,180,219) (97%,71%,86%)
R 248 of 255 = 97%
G 180 of 255 = 71%
B 219 of 255 = 86%
R + G + B ~ 85%. #F8B4DB is quite light color.
R + G + B =
248 + 180 + 219 = 647 (100%)
R 248 of 647 ~ 38.33%
G 180 of 647 ~ 27.82%
B 219 of 647 ~ 33.85%
#F8B4DB color CMYK value is (0,27,12,3).
CMYK: (0,27,12,3) C0M27Y12K3 (0%,27%,12%,3%) (0.00/0.27/0.12/0.03)
F8 | B4 | DB | |
---|---|---|---|
RGB | 248 | 180 | 219 |
HSL | 326° | 82.93% | 83.92% |
HSB/HSV | 326° | 27.42% | 97.25% |
CMYK | 0.00% | 27.42% | 11.69% |
2.75% |
HEX | F8 | B4 | DB |
Decimal | 248 | 180 | 219 |
Binary | 11111000 | 10110100 | 11011011 |
Octal | 370 | 264 | 333 |
Examples of css and html codes for elements with #F8B4DB color. Also use rgb(248,180,219) instead hex code.
.myTextColor { color: #F8B4DB; }
<p style="color:#F8B4DB">This sample text font color is #F8B4DB.</p>
This text font color is #F8B4DB.
.myBgColor { background-color: #F8B4DB; }
<div style="background-color:#F8B4DB">Inner text</div>
This div background color is #F8B4DB.
.myBorderColor { border: 1px solid #F8B4DB; }
<div style="border:3px solid #F8B4DB">Div</div>
This div border color is #F8B4DB.
.myOpacity80 { color: #F8B4DB; opacity: 0.8; }
<p style="color:#F8B4DB;opacity:0.8;">80%</p>
Text with #F8B4DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8B4DB;}
<p style="text-shadow: 3px 3px 1px #F8B4DB">Text here.</p>
This text has shadow with #F8B4DB color.
.textShadow {text-shadow: 3px 3px 1px #F8B4DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8B4DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8B4DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8B4DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8B4DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8B4DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8B4DB; -webkit-box-shadow: 1px 1px 3px 2px #F8B4DB; box-shadow: 1px 1px 3px 2px #F8B4DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8B4DB; -webkit-box-shadow: 1px 1px 3px 2px #F8B4DB; box-shadow:1px 1px 3px 2px #F8B4DB;">
Div content here</div>
This text has color #F8B4DB on black background.
This text has color #F8B4DB on white background.
This text has black color on #F8B4DB background.
This text has white color on #F8B4DB background.