HEX: #788AAB
RGB: (120,138,171)
#788AAB contains red, green and blue colors in about the same proportion. Web safe color of #788AAB is #669999 (or #699).
#788AAB color RGB value is (120,138,171).
RGB: (120,138,171) (47%,54%,67%)
R 120 of 255 = 47%
G 138 of 255 = 54%
B 171 of 255 = 67%
R + G + B ~ 56%. #788AAB is middle color (not dark and not light).
R + G + B =
120 + 138 + 171 = 429 (100%)
R 120 of 429 ~ 27.97%
G 138 of 429 ~ 32.17%
B 171 of 429 ~ 39.86%
#788AAB color CMYK value is (30,19,0,33).
CMYK: (30,19,0,33) C30M19Y0K33 (30%,19%,0%,33%) (0.30/0.19/0.00/0.33)
78 | 8A | AB | |
---|---|---|---|
RGB | 120 | 138 | 171 |
HSL | 219° | 23.29% | 57.06% |
HSB/HSV | 219° | 29.82% | 67.06% |
CMYK | 29.82% | 19.30% | 0.00% |
32.94% |
HEX | 78 | 8A | AB |
Decimal | 120 | 138 | 171 |
Binary | 1111000 | 10001010 | 10101011 |
Octal | 170 | 212 | 253 |
Examples of css and html codes for elements with #788AAB color. Also use rgb(120,138,171) instead hex code.
.myTextColor { color: #788AAB; }
<p style="color:#788AAB">This sample text font color is #788AAB.</p>
This text font color is #788AAB.
.myBgColor { background-color: #788AAB; }
<div style="background-color:#788AAB">Inner text</div>
This div background color is #788AAB.
.myBorderColor { border: 1px solid #788AAB; }
<div style="border:3px solid #788AAB">Div</div>
This div border color is #788AAB.
.myOpacity80 { color: #788AAB; opacity: 0.8; }
<p style="color:#788AAB;opacity:0.8;">80%</p>
Text with #788AAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #788AAB;}
<p style="text-shadow: 3px 3px 1px #788AAB">Text here.</p>
This text has shadow with #788AAB color.
.textShadow {text-shadow: 3px 3px 1px #788AAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #788AAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #788AAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#788AAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#788AAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #788AAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #788AAB; -webkit-box-shadow: 1px 1px 3px 2px #788AAB; box-shadow: 1px 1px 3px 2px #788AAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #788AAB; -webkit-box-shadow: 1px 1px 3px 2px #788AAB; box-shadow:1px 1px 3px 2px #788AAB;">
Div content here</div>
This text has color #788AAB on black background.
This text has color #788AAB on white background.
This text has black color on #788AAB background.
This text has white color on #788AAB background.