HEX: #7B789F
RGB: (123,120,159)
#7B789F contains red, green and blue colors in about the same proportion. Web safe color of #7B789F is #666699 (or #669).
#7B789F color RGB value is (123,120,159).
RGB: (123,120,159) (48%,47%,62%)
R 123 of 255 = 48%
G 120 of 255 = 47%
B 159 of 255 = 62%
R + G + B ~ 52%. #7B789F is middle color (not dark and not light).
R + G + B =
123 + 120 + 159 = 402 (100%)
R 123 of 402 ~ 30.6%
G 120 of 402 ~ 29.85%
B 159 of 402 ~ 39.55%
#7B789F color CMYK value is (23,25,0,38).
CMYK: (23,25,0,38) C23M25Y0K38 (23%,25%,0%,38%) (0.23/0.25/0.00/0.38)
7B | 78 | 9F | |
---|---|---|---|
RGB | 123 | 120 | 159 |
HSL | 245° | 16.88% | 54.71% |
HSB/HSV | 245° | 24.53% | 62.35% |
CMYK | 22.64% | 24.53% | 0.00% |
37.65% |
HEX | 7B | 78 | 9F |
Decimal | 123 | 120 | 159 |
Binary | 1111011 | 1111000 | 10011111 |
Octal | 173 | 170 | 237 |
Examples of css and html codes for elements with #7B789F color. Also use rgb(123,120,159) instead hex code.
.myTextColor { color: #7B789F; }
<p style="color:#7B789F">This sample text font color is #7B789F.</p>
This text font color is #7B789F.
.myBgColor { background-color: #7B789F; }
<div style="background-color:#7B789F">Inner text</div>
This div background color is #7B789F.
.myBorderColor { border: 1px solid #7B789F; }
<div style="border:3px solid #7B789F">Div</div>
This div border color is #7B789F.
.myOpacity80 { color: #7B789F; opacity: 0.8; }
<p style="color:#7B789F;opacity:0.8;">80%</p>
Text with #7B789F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B789F;}
<p style="text-shadow: 3px 3px 1px #7B789F">Text here.</p>
This text has shadow with #7B789F color.
.textShadow {text-shadow: 3px 3px 1px #7B789F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B789F, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B789F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B789F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B789F, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B789F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B789F; -webkit-box-shadow: 1px 1px 3px 2px #7B789F; box-shadow: 1px 1px 3px 2px #7B789F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B789F; -webkit-box-shadow: 1px 1px 3px 2px #7B789F; box-shadow:1px 1px 3px 2px #7B789F;">
Div content here</div>
This text has color #7B789F on black background.
This text has color #7B789F on white background.
This text has black color on #7B789F background.
This text has white color on #7B789F background.