HEX: #F2489A
RGB: (242,72,154)
#F2489A contains mainly red color. Web safe color of #F2489A is #FF3399 (or #F39).
#F2489A color RGB value is (242,72,154).
RGB: (242,72,154) (95%,28%,60%)
R 242 of 255 = 95%
G 72 of 255 = 28%
B 154 of 255 = 60%
R + G + B ~ 61%. #F2489A is quite light color.
R + G + B =
242 + 72 + 154 = 468 (100%)
R 242 of 468 ~ 51.71%
G 72 of 468 ~ 15.38%
B 154 of 468 ~ 32.91%
#F2489A color CMYK value is (0,70,36,5).
CMYK: (0,70,36,5) C0M70Y36K5 (0%,70%,36%,5%) (0.00/0.70/0.36/0.05)
F2 | 48 | 9A | |
---|---|---|---|
RGB | 242 | 72 | 154 |
HSL | 331° | 86.73% | 61.57% |
HSB/HSV | 331° | 70.25% | 94.90% |
CMYK | 0.00% | 70.25% | 36.36% |
5.10% |
HEX | F2 | 48 | 9A |
Decimal | 242 | 72 | 154 |
Binary | 11110010 | 1001000 | 10011010 |
Octal | 362 | 110 | 232 |
Examples of css and html codes for elements with #F2489A color. Also use rgb(242,72,154) instead hex code.
.myTextColor { color: #F2489A; }
<p style="color:#F2489A">This sample text font color is #F2489A.</p>
This text font color is #F2489A.
.myBgColor { background-color: #F2489A; }
<div style="background-color:#F2489A">Inner text</div>
This div background color is #F2489A.
.myBorderColor { border: 1px solid #F2489A; }
<div style="border:3px solid #F2489A">Div</div>
This div border color is #F2489A.
.myOpacity80 { color: #F2489A; opacity: 0.8; }
<p style="color:#F2489A;opacity:0.8;">80%</p>
Text with #F2489A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2489A;}
<p style="text-shadow: 3px 3px 1px #F2489A">Text here.</p>
This text has shadow with #F2489A color.
.textShadow {text-shadow: 3px 3px 1px #F2489A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2489A, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2489A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2489A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2489A, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2489A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2489A; -webkit-box-shadow: 1px 1px 3px 2px #F2489A; box-shadow: 1px 1px 3px 2px #F2489A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2489A; -webkit-box-shadow: 1px 1px 3px 2px #F2489A; box-shadow:1px 1px 3px 2px #F2489A;">
Div content here</div>
This text has color #F2489A on black background.
This text has color #F2489A on white background.
This text has black color on #F2489A background.
This text has white color on #F2489A background.