HEX: #FF007F
RGB: (255,0,127)
#FF007F contains mainly red color. Web safe color of #FF007F is #FF0066 (or #F06).
#FF007F color RGB value is (255,0,127).
RGB: (255,0,127) (100%,0%,50%)
R 255 of 255 = 100%
G 0 of 255 = 0%
B 127 of 255 = 50%
R + G + B ~ 50%. #FF007F is middle color (not dark and not light).
R + G + B =
255 + 0 + 127 = 382 (100%)
R 255 of 382 ~ 66.75%
G 0 of 382 ~ 0%
B 127 of 382 ~ 33.25%
#FF007F color CMYK value is (0,100,50,0).
CMYK: (0,100,50,0) C0M100Y50K0 (0%,100%,50%,0%) (0.00/1.00/0.50/0.00)
FF | 00 | 7F | |
---|---|---|---|
RGB | 255 | 0 | 127 |
HSL | 330° | 100.00% | 50.00% |
HSB/HSV | 330° | 100.00% | 100.00% |
CMYK | 0.00% | 100.00% | 50.20% |
0.00% |
HEX | FF | 00 | 7F |
Decimal | 255 | 0 | 127 |
Binary | 11111111 | 0 | 1111111 |
Octal | 377 | 0 | 177 |
Examples of css and html codes for elements with #FF007F color. Also use rgb(255,0,127) instead hex code.
.myTextColor { color: #FF007F; }
<p style="color:#FF007F">This sample text font color is #FF007F.</p>
This text font color is #FF007F.
.myBgColor { background-color: #FF007F; }
<div style="background-color:#FF007F">Inner text</div>
This div background color is #FF007F.
.myBorderColor { border: 1px solid #FF007F; }
<div style="border:3px solid #FF007F">Div</div>
This div border color is #FF007F.
.myOpacity80 { color: #FF007F; opacity: 0.8; }
<p style="color:#FF007F;opacity:0.8;">80%</p>
Text with #FF007F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FF007F;}
<p style="text-shadow: 3px 3px 1px #FF007F">Text here.</p>
This text has shadow with #FF007F color.
.textShadow {text-shadow: 3px 3px 1px #FF007F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FF007F, 5px 5px 20px red">Text here.</p>
This text has shadow with #FF007F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FF007F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FF007F, Direction=45, Strength=4)">Text</p>
This text has shadow with #FF007F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FF007F; -webkit-box-shadow: 1px 1px 3px 2px #FF007F; box-shadow: 1px 1px 3px 2px #FF007F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FF007F; -webkit-box-shadow: 1px 1px 3px 2px #FF007F; box-shadow:1px 1px 3px 2px #FF007F;">
Div content here</div>
This text has color #FF007F on black background.
This text has color #FF007F on white background.
This text has black color on #FF007F background.
This text has white color on #FF007F background.