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