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