HEX: #F07AB4
RGB: (240,122,180)
#F07AB4 contains mainly red color. Web safe color of #F07AB4 is #FF66CC (or #F6C).
#F07AB4 color RGB value is (240,122,180).
RGB: (240,122,180) (94%,48%,71%)
R 240 of 255 = 94%
G 122 of 255 = 48%
B 180 of 255 = 71%
R + G + B ~ 71%. #F07AB4 is quite light color.
R + G + B =
240 + 122 + 180 = 542 (100%)
R 240 of 542 ~ 44.28%
G 122 of 542 ~ 22.51%
B 180 of 542 ~ 33.21%
#F07AB4 color CMYK value is (0,49,25,6).
CMYK: (0,49,25,6) C0M49Y25K6 (0%,49%,25%,6%) (0.00/0.49/0.25/0.06)
F0 | 7A | B4 | |
---|---|---|---|
RGB | 240 | 122 | 180 |
HSL | 331° | 79.73% | 70.98% |
HSB/HSV | 331° | 49.17% | 94.12% |
CMYK | 0.00% | 49.17% | 25.00% |
5.88% |
HEX | F0 | 7A | B4 |
Decimal | 240 | 122 | 180 |
Binary | 11110000 | 1111010 | 10110100 |
Octal | 360 | 172 | 264 |
Examples of css and html codes for elements with #F07AB4 color. Also use rgb(240,122,180) instead hex code.
.myTextColor { color: #F07AB4; }
<p style="color:#F07AB4">This sample text font color is #F07AB4.</p>
This text font color is #F07AB4.
.myBgColor { background-color: #F07AB4; }
<div style="background-color:#F07AB4">Inner text</div>
This div background color is #F07AB4.
.myBorderColor { border: 1px solid #F07AB4; }
<div style="border:3px solid #F07AB4">Div</div>
This div border color is #F07AB4.
.myOpacity80 { color: #F07AB4; opacity: 0.8; }
<p style="color:#F07AB4;opacity:0.8;">80%</p>
Text with #F07AB4 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F07AB4;}
<p style="text-shadow: 3px 3px 1px #F07AB4">Text here.</p>
This text has shadow with #F07AB4 color.
.textShadow {text-shadow: 3px 3px 1px #F07AB4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F07AB4, 5px 5px 20px red">Text here.</p>
This text has shadow with #F07AB4 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F07AB4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F07AB4, Direction=45, Strength=4)">Text</p>
This text has shadow with #F07AB4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F07AB4; -webkit-box-shadow: 1px 1px 3px 2px #F07AB4; box-shadow: 1px 1px 3px 2px #F07AB4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F07AB4; -webkit-box-shadow: 1px 1px 3px 2px #F07AB4; box-shadow:1px 1px 3px 2px #F07AB4;">
Div content here</div>
This text has color #F07AB4 on black background.
This text has color #F07AB4 on white background.
This text has black color on #F07AB4 background.
This text has white color on #F07AB4 background.