HEX: #787FAA
RGB: (120,127,170)
#787FAA contains red, green and blue colors in about the same proportion. Web safe color of #787FAA is #666699 (or #669).
#787FAA color RGB value is (120,127,170).
RGB: (120,127,170) (47%,50%,67%)
R 120 of 255 = 47%
G 127 of 255 = 50%
B 170 of 255 = 67%
R + G + B ~ 55%. #787FAA is middle color (not dark and not light).
R + G + B =
120 + 127 + 170 = 417 (100%)
R 120 of 417 ~ 28.78%
G 127 of 417 ~ 30.46%
B 170 of 417 ~ 40.77%
#787FAA color CMYK value is (29,25,0,33).
CMYK: (29,25,0,33) C29M25Y0K33 (29%,25%,0%,33%) (0.29/0.25/0.00/0.33)
78 | 7F | AA | |
---|---|---|---|
RGB | 120 | 127 | 170 |
HSL | 232° | 22.73% | 56.86% |
HSB/HSV | 232° | 29.41% | 66.67% |
CMYK | 29.41% | 25.29% | 0.00% |
33.33% |
HEX | 78 | 7F | AA |
Decimal | 120 | 127 | 170 |
Binary | 1111000 | 1111111 | 10101010 |
Octal | 170 | 177 | 252 |
Examples of css and html codes for elements with #787FAA color. Also use rgb(120,127,170) instead hex code.
.myTextColor { color: #787FAA; }
<p style="color:#787FAA">This sample text font color is #787FAA.</p>
This text font color is #787FAA.
.myBgColor { background-color: #787FAA; }
<div style="background-color:#787FAA">Inner text</div>
This div background color is #787FAA.
.myBorderColor { border: 1px solid #787FAA; }
<div style="border:3px solid #787FAA">Div</div>
This div border color is #787FAA.
.myOpacity80 { color: #787FAA; opacity: 0.8; }
<p style="color:#787FAA;opacity:0.8;">80%</p>
Text with #787FAA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787FAA;}
<p style="text-shadow: 3px 3px 1px #787FAA">Text here.</p>
This text has shadow with #787FAA color.
.textShadow {text-shadow: 3px 3px 1px #787FAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787FAA, 5px 5px 20px red">Text here.</p>
This text has shadow with #787FAA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787FAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787FAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #787FAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787FAA; -webkit-box-shadow: 1px 1px 3px 2px #787FAA; box-shadow: 1px 1px 3px 2px #787FAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787FAA; -webkit-box-shadow: 1px 1px 3px 2px #787FAA; box-shadow:1px 1px 3px 2px #787FAA;">
Div content here</div>
This text has color #787FAA on black background.
This text has color #787FAA on white background.
This text has black color on #787FAA background.
This text has white color on #787FAA background.