HEX: #F015D2
RGB: (240,21,210)
#F015D2 contains mainly red and blue colors. Web safe color of #F015D2 is #FF00CC (or #F0C).
#F015D2 color RGB value is (240,21,210).
RGB: (240,21,210) (94%,8%,82%)
R 240 of 255 = 94%
G 21 of 255 = 8%
B 210 of 255 = 82%
R + G + B ~ 61%. #F015D2 is quite light color.
R + G + B =
240 + 21 + 210 = 471 (100%)
R 240 of 471 ~ 50.96%
G 21 of 471 ~ 4.46%
B 210 of 471 ~ 44.59%
#F015D2 color CMYK value is (0,91,13,6).
CMYK: (0,91,13,6) C0M91Y13K6 (0%,91%,13%,6%) (0.00/0.91/0.13/0.06)
F0 | 15 | D2 | |
---|---|---|---|
RGB | 240 | 21 | 210 |
HSL | 308° | 87.95% | 51.18% |
HSB/HSV | 308° | 91.25% | 94.12% |
CMYK | 0.00% | 91.25% | 12.50% |
5.88% |
HEX | F0 | 15 | D2 |
Decimal | 240 | 21 | 210 |
Binary | 11110000 | 10101 | 11010010 |
Octal | 360 | 25 | 322 |
Examples of css and html codes for elements with #F015D2 color. Also use rgb(240,21,210) instead hex code.
.myTextColor { color: #F015D2; }
<p style="color:#F015D2">This sample text font color is #F015D2.</p>
This text font color is #F015D2.
.myBgColor { background-color: #F015D2; }
<div style="background-color:#F015D2">Inner text</div>
This div background color is #F015D2.
.myBorderColor { border: 1px solid #F015D2; }
<div style="border:3px solid #F015D2">Div</div>
This div border color is #F015D2.
.myOpacity80 { color: #F015D2; opacity: 0.8; }
<p style="color:#F015D2;opacity:0.8;">80%</p>
Text with #F015D2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F015D2;}
<p style="text-shadow: 3px 3px 1px #F015D2">Text here.</p>
This text has shadow with #F015D2 color.
.textShadow {text-shadow: 3px 3px 1px #F015D2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F015D2, 5px 5px 20px red">Text here.</p>
This text has shadow with #F015D2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F015D2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F015D2, Direction=45, Strength=4)">Text</p>
This text has shadow with #F015D2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F015D2; -webkit-box-shadow: 1px 1px 3px 2px #F015D2; box-shadow: 1px 1px 3px 2px #F015D2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F015D2; -webkit-box-shadow: 1px 1px 3px 2px #F015D2; box-shadow:1px 1px 3px 2px #F015D2;">
Div content here</div>
This text has color #F015D2 on black background.
This text has color #F015D2 on white background.
This text has black color on #F015D2 background.
This text has white color on #F015D2 background.