HEX: #787BAB
RGB: (120,123,171)
#787BAB contains red, green and blue colors in about the same proportion. Web safe color of #787BAB is #666699 (or #669).
#787BAB color RGB value is (120,123,171).
RGB: (120,123,171) (47%,48%,67%)
R 120 of 255 = 47%
G 123 of 255 = 48%
B 171 of 255 = 67%
R + G + B ~ 54%. #787BAB is middle color (not dark and not light).
R + G + B =
120 + 123 + 171 = 414 (100%)
R 120 of 414 ~ 28.99%
G 123 of 414 ~ 29.71%
B 171 of 414 ~ 41.3%
#787BAB color CMYK value is (30,28,0,33).
CMYK: (30,28,0,33) C30M28Y0K33 (30%,28%,0%,33%) (0.30/0.28/0.00/0.33)
78 | 7B | AB | |
---|---|---|---|
RGB | 120 | 123 | 171 |
HSL | 236° | 23.29% | 57.06% |
HSB/HSV | 236° | 29.82% | 67.06% |
CMYK | 29.82% | 28.07% | 0.00% |
32.94% |
HEX | 78 | 7B | AB |
Decimal | 120 | 123 | 171 |
Binary | 1111000 | 1111011 | 10101011 |
Octal | 170 | 173 | 253 |
Examples of css and html codes for elements with #787BAB color. Also use rgb(120,123,171) instead hex code.
.myTextColor { color: #787BAB; }
<p style="color:#787BAB">This sample text font color is #787BAB.</p>
This text font color is #787BAB.
.myBgColor { background-color: #787BAB; }
<div style="background-color:#787BAB">Inner text</div>
This div background color is #787BAB.
.myBorderColor { border: 1px solid #787BAB; }
<div style="border:3px solid #787BAB">Div</div>
This div border color is #787BAB.
.myOpacity80 { color: #787BAB; opacity: 0.8; }
<p style="color:#787BAB;opacity:0.8;">80%</p>
Text with #787BAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787BAB;}
<p style="text-shadow: 3px 3px 1px #787BAB">Text here.</p>
This text has shadow with #787BAB color.
.textShadow {text-shadow: 3px 3px 1px #787BAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787BAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #787BAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787BAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787BAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #787BAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787BAB; -webkit-box-shadow: 1px 1px 3px 2px #787BAB; box-shadow: 1px 1px 3px 2px #787BAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787BAB; -webkit-box-shadow: 1px 1px 3px 2px #787BAB; box-shadow:1px 1px 3px 2px #787BAB;">
Div content here</div>
This text has color #787BAB on black background.
This text has color #787BAB on white background.
This text has black color on #787BAB background.
This text has white color on #787BAB background.