HEX: #FF00FF
RGB: (255,0,255)
Color name is Fuchsia(Magenta). #FF00FF contains only red and blue colors. #FF00FF color is web safe color. It maybe written shortly as #F0F.
#FF00FF color RGB value is (255,0,255).
RGB: (255,0,255) (100%,0%,100%)
R 255 of 255 = 100%
G 0 of 255 = 0%
B 255 of 255 = 100%
R + G + B ~ 67%. #FF00FF is quite light color.
R + G + B =
255 + 0 + 255 = 510 (100%)
R 255 of 510 ~ 50%
G 0 of 510 ~ 0%
B 255 of 510 ~ 50%
#FF00FF color CMYK value is (0,100,0,0).
CMYK: (0,100,0,0) C0M100Y0K0 (0%,100%,0%,0%) (0.00/1.00/0.00/0.00)
FF | 00 | FF | |
---|---|---|---|
RGB | 255 | 0 | 255 |
HSL | 300° | 100.00% | 50.00% |
HSB/HSV | 300° | 100.00% | 100.00% |
CMYK | 0.00% | 100.00% | 0.00% |
0.00% |
HEX | FF | 00 | FF |
Decimal | 255 | 0 | 255 |
Binary | 11111111 | 0 | 11111111 |
Octal | 377 | 0 | 377 |
Examples of css and html codes for elements with #FF00FF color. Also use rgb(255,0,255) instead hex code.
.myTextColor { color: #FF00FF; }
<p style="color:#FF00FF">This sample text font color is #FF00FF.</p>
This text font color is #FF00FF.
.myBgColor { background-color: #FF00FF; }
<div style="background-color:#FF00FF">Inner text</div>
This div background color is #FF00FF.
.myBorderColor { border: 1px solid #FF00FF; }
<div style="border:3px solid #FF00FF">Div</div>
This div border color is #FF00FF.
.myOpacity80 { color: #FF00FF; opacity: 0.8; }
<p style="color:#FF00FF;opacity:0.8;">80%</p>
Text with #FF00FF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FF00FF;}
<p style="text-shadow: 3px 3px 1px #FF00FF">Text here.</p>
This text has shadow with #FF00FF color.
.textShadow {text-shadow: 3px 3px 1px #FF00FF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FF00FF, 5px 5px 20px red">Text here.</p>
This text has shadow with #FF00FF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FF00FF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FF00FF, Direction=45, Strength=4)">Text</p>
This text has shadow with #FF00FF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FF00FF; -webkit-box-shadow: 1px 1px 3px 2px #FF00FF; box-shadow: 1px 1px 3px 2px #FF00FF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FF00FF; -webkit-box-shadow: 1px 1px 3px 2px #FF00FF; box-shadow:1px 1px 3px 2px #FF00FF;">
Div content here</div>
This text has color #FF00FF on black background.
This text has color #FF00FF on white background.
This text has black color on #FF00FF background.
This text has white color on #FF00FF background.