HEX: #788EBA
RGB: (120,142,186)
#788EBA contains mainly green and blue colors. Web safe color of #788EBA is #6699CC (or #69C).
#788EBA color RGB value is (120,142,186).
RGB: (120,142,186) (47%,56%,73%)
R 120 of 255 = 47%
G 142 of 255 = 56%
B 186 of 255 = 73%
R + G + B ~ 59%. #788EBA is middle color (not dark and not light).
R + G + B =
120 + 142 + 186 = 448 (100%)
R 120 of 448 ~ 26.79%
G 142 of 448 ~ 31.7%
B 186 of 448 ~ 41.52%
#788EBA color CMYK value is (35,24,0,27).
CMYK: (35,24,0,27) C35M24Y0K27 (35%,24%,0%,27%) (0.35/0.24/0.00/0.27)
78 | 8E | BA | |
---|---|---|---|
RGB | 120 | 142 | 186 |
HSL | 220° | 32.35% | 60.00% |
HSB/HSV | 220° | 35.48% | 72.94% |
CMYK | 35.48% | 23.66% | 0.00% |
27.06% |
HEX | 78 | 8E | BA |
Decimal | 120 | 142 | 186 |
Binary | 1111000 | 10001110 | 10111010 |
Octal | 170 | 216 | 272 |
Examples of css and html codes for elements with #788EBA color. Also use rgb(120,142,186) instead hex code.
.myTextColor { color: #788EBA; }
<p style="color:#788EBA">This sample text font color is #788EBA.</p>
This text font color is #788EBA.
.myBgColor { background-color: #788EBA; }
<div style="background-color:#788EBA">Inner text</div>
This div background color is #788EBA.
.myBorderColor { border: 1px solid #788EBA; }
<div style="border:3px solid #788EBA">Div</div>
This div border color is #788EBA.
.myOpacity80 { color: #788EBA; opacity: 0.8; }
<p style="color:#788EBA;opacity:0.8;">80%</p>
Text with #788EBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #788EBA;}
<p style="text-shadow: 3px 3px 1px #788EBA">Text here.</p>
This text has shadow with #788EBA color.
.textShadow {text-shadow: 3px 3px 1px #788EBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #788EBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #788EBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#788EBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#788EBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #788EBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #788EBA; -webkit-box-shadow: 1px 1px 3px 2px #788EBA; box-shadow: 1px 1px 3px 2px #788EBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #788EBA; -webkit-box-shadow: 1px 1px 3px 2px #788EBA; box-shadow:1px 1px 3px 2px #788EBA;">
Div content here</div>
This text has color #788EBA on black background.
This text has color #788EBA on white background.
This text has black color on #788EBA background.
This text has white color on #788EBA background.