HEX: #780081
RGB: (120,0,129)
#780081 contains only red and blue colors. Web safe color of #780081 is #660099 (or #609).
#780081 color RGB value is (120,0,129).
RGB: (120,0,129) (47%,0%,51%)
R 120 of 255 = 47%
G 0 of 255 = 0%
B 129 of 255 = 51%
R + G + B ~ 33%. #780081 is quite dark color.
R + G + B =
120 + 0 + 129 = 249 (100%)
R 120 of 249 ~ 48.19%
G 0 of 249 ~ 0%
B 129 of 249 ~ 51.81%
#780081 color CMYK value is (7,100,0,49).
CMYK: (7,100,0,49) C7M100Y0K49 (7%,100%,0%,49%) (0.07/1.00/0.00/0.49)
78 | 00 | 81 | |
---|---|---|---|
RGB | 120 | 0 | 129 |
HSL | 296° | 100.00% | 25.29% |
HSB/HSV | 296° | 100.00% | 50.59% |
CMYK | 6.98% | 100.00% | 0.00% |
49.41% |
HEX | 78 | 00 | 81 |
Decimal | 120 | 0 | 129 |
Binary | 1111000 | 0 | 10000001 |
Octal | 170 | 0 | 201 |
Examples of css and html codes for elements with #780081 color. Also use rgb(120,0,129) instead hex code.
.myTextColor { color: #780081; }
<p style="color:#780081">This sample text font color is #780081.</p>
This text font color is #780081.
.myBgColor { background-color: #780081; }
<div style="background-color:#780081">Inner text</div>
This div background color is #780081.
.myBorderColor { border: 1px solid #780081; }
<div style="border:3px solid #780081">Div</div>
This div border color is #780081.
.myOpacity80 { color: #780081; opacity: 0.8; }
<p style="color:#780081;opacity:0.8;">80%</p>
Text with #780081 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #780081;}
<p style="text-shadow: 3px 3px 1px #780081">Text here.</p>
This text has shadow with #780081 color.
.textShadow {text-shadow: 3px 3px 1px #780081, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #780081, 5px 5px 20px red">Text here.</p>
This text has shadow with #780081 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#780081, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#780081, Direction=45, Strength=4)">Text</p>
This text has shadow with #780081 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #780081; -webkit-box-shadow: 1px 1px 3px 2px #780081; box-shadow: 1px 1px 3px 2px #780081; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #780081; -webkit-box-shadow: 1px 1px 3px 2px #780081; box-shadow:1px 1px 3px 2px #780081;">
Div content here</div>
This text has color #780081 on black background.
This text has color #780081 on white background.
This text has black color on #780081 background.
This text has white color on #780081 background.