HEX: #787387
RGB: (120,115,135)
#787387 contains red, green and blue colors in about the same proportion. Web safe color of #787387 is #666699 (or #669).
#787387 color RGB value is (120,115,135).
RGB: (120,115,135) (47%,45%,53%)
R 120 of 255 = 47%
G 115 of 255 = 45%
B 135 of 255 = 53%
R + G + B ~ 48%. #787387 is middle color (not dark and not light).
R + G + B =
120 + 115 + 135 = 370 (100%)
R 120 of 370 ~ 32.43%
G 115 of 370 ~ 31.08%
B 135 of 370 ~ 36.49%
#787387 color CMYK value is (11,15,0,47).
CMYK: (11,15,0,47) C11M15Y0K47 (11%,15%,0%,47%) (0.11/0.15/0.00/0.47)
78 | 73 | 87 | |
---|---|---|---|
RGB | 120 | 115 | 135 |
HSL | 255° | 8.00% | 49.02% |
HSB/HSV | 255° | 14.81% | 52.94% |
CMYK | 11.11% | 14.81% | 0.00% |
47.06% |
HEX | 78 | 73 | 87 |
Decimal | 120 | 115 | 135 |
Binary | 1111000 | 1110011 | 10000111 |
Octal | 170 | 163 | 207 |
Examples of css and html codes for elements with #787387 color. Also use rgb(120,115,135) instead hex code.
.myTextColor { color: #787387; }
<p style="color:#787387">This sample text font color is #787387.</p>
This text font color is #787387.
.myBgColor { background-color: #787387; }
<div style="background-color:#787387">Inner text</div>
This div background color is #787387.
.myBorderColor { border: 1px solid #787387; }
<div style="border:3px solid #787387">Div</div>
This div border color is #787387.
.myOpacity80 { color: #787387; opacity: 0.8; }
<p style="color:#787387;opacity:0.8;">80%</p>
Text with #787387 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787387;}
<p style="text-shadow: 3px 3px 1px #787387">Text here.</p>
This text has shadow with #787387 color.
.textShadow {text-shadow: 3px 3px 1px #787387, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787387, 5px 5px 20px red">Text here.</p>
This text has shadow with #787387 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787387, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787387, Direction=45, Strength=4)">Text</p>
This text has shadow with #787387 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787387; -webkit-box-shadow: 1px 1px 3px 2px #787387; box-shadow: 1px 1px 3px 2px #787387; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787387; -webkit-box-shadow: 1px 1px 3px 2px #787387; box-shadow:1px 1px 3px 2px #787387;">
Div content here</div>
This text has color #787387 on black background.
This text has color #787387 on white background.
This text has black color on #787387 background.
This text has white color on #787387 background.