HEX: #7C8CBA
RGB: (124,140,186)
#7C8CBA contains mainly green and blue colors. Web safe color of #7C8CBA is #6699CC (or #69C).
#7C8CBA color RGB value is (124,140,186).
RGB: (124,140,186) (49%,55%,73%)
R 124 of 255 = 49%
G 140 of 255 = 55%
B 186 of 255 = 73%
R + G + B ~ 59%. #7C8CBA is middle color (not dark and not light).
R + G + B =
124 + 140 + 186 = 450 (100%)
R 124 of 450 ~ 27.56%
G 140 of 450 ~ 31.11%
B 186 of 450 ~ 41.33%
#7C8CBA color CMYK value is (33,25,0,27).
CMYK: (33,25,0,27) C33M25Y0K27 (33%,25%,0%,27%) (0.33/0.25/0.00/0.27)
7C | 8C | BA | |
---|---|---|---|
RGB | 124 | 140 | 186 |
HSL | 225° | 31.00% | 60.78% |
HSB/HSV | 225° | 33.33% | 72.94% |
CMYK | 33.33% | 24.73% | 0.00% |
27.06% |
HEX | 7C | 8C | BA |
Decimal | 124 | 140 | 186 |
Binary | 1111100 | 10001100 | 10111010 |
Octal | 174 | 214 | 272 |
Examples of css and html codes for elements with #7C8CBA color. Also use rgb(124,140,186) instead hex code.
.myTextColor { color: #7C8CBA; }
<p style="color:#7C8CBA">This sample text font color is #7C8CBA.</p>
This text font color is #7C8CBA.
.myBgColor { background-color: #7C8CBA; }
<div style="background-color:#7C8CBA">Inner text</div>
This div background color is #7C8CBA.
.myBorderColor { border: 1px solid #7C8CBA; }
<div style="border:3px solid #7C8CBA">Div</div>
This div border color is #7C8CBA.
.myOpacity80 { color: #7C8CBA; opacity: 0.8; }
<p style="color:#7C8CBA;opacity:0.8;">80%</p>
Text with #7C8CBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7C8CBA;}
<p style="text-shadow: 3px 3px 1px #7C8CBA">Text here.</p>
This text has shadow with #7C8CBA color.
.textShadow {text-shadow: 3px 3px 1px #7C8CBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7C8CBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #7C8CBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7C8CBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7C8CBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #7C8CBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7C8CBA; -webkit-box-shadow: 1px 1px 3px 2px #7C8CBA; box-shadow: 1px 1px 3px 2px #7C8CBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7C8CBA; -webkit-box-shadow: 1px 1px 3px 2px #7C8CBA; box-shadow:1px 1px 3px 2px #7C8CBA;">
Div content here</div>
This text has color #7C8CBA on black background.
This text has color #7C8CBA on white background.
This text has black color on #7C8CBA background.
This text has white color on #7C8CBA background.