HEX: #7C8CCB
RGB: (124,140,203)
#7C8CCB contains mainly blue color. Web safe color of #7C8CCB is #6699CC (or #69C).
#7C8CCB color RGB value is (124,140,203).
RGB: (124,140,203) (49%,55%,80%)
R 124 of 255 = 49%
G 140 of 255 = 55%
B 203 of 255 = 80%
R + G + B ~ 61%. #7C8CCB is quite light color.
R + G + B =
124 + 140 + 203 = 467 (100%)
R 124 of 467 ~ 26.55%
G 140 of 467 ~ 29.98%
B 203 of 467 ~ 43.47%
#7C8CCB color CMYK value is (39,31,0,20).
CMYK: (39,31,0,20) C39M31Y0K20 (39%,31%,0%,20%) (0.39/0.31/0.00/0.20)
7C | 8C | CB | |
---|---|---|---|
RGB | 124 | 140 | 203 |
HSL | 228° | 43.17% | 64.12% |
HSB/HSV | 228° | 38.92% | 79.61% |
CMYK | 38.92% | 31.03% | 0.00% |
20.39% |
HEX | 7C | 8C | CB |
Decimal | 124 | 140 | 203 |
Binary | 1111100 | 10001100 | 11001011 |
Octal | 174 | 214 | 313 |
Examples of css and html codes for elements with #7C8CCB color. Also use rgb(124,140,203) instead hex code.
.myTextColor { color: #7C8CCB; }
<p style="color:#7C8CCB">This sample text font color is #7C8CCB.</p>
This text font color is #7C8CCB.
.myBgColor { background-color: #7C8CCB; }
<div style="background-color:#7C8CCB">Inner text</div>
This div background color is #7C8CCB.
.myBorderColor { border: 1px solid #7C8CCB; }
<div style="border:3px solid #7C8CCB">Div</div>
This div border color is #7C8CCB.
.myOpacity80 { color: #7C8CCB; opacity: 0.8; }
<p style="color:#7C8CCB;opacity:0.8;">80%</p>
Text with #7C8CCB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7C8CCB;}
<p style="text-shadow: 3px 3px 1px #7C8CCB">Text here.</p>
This text has shadow with #7C8CCB color.
.textShadow {text-shadow: 3px 3px 1px #7C8CCB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7C8CCB, 5px 5px 20px red">Text here.</p>
This text has shadow with #7C8CCB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7C8CCB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7C8CCB, Direction=45, Strength=4)">Text</p>
This text has shadow with #7C8CCB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7C8CCB; -webkit-box-shadow: 1px 1px 3px 2px #7C8CCB; box-shadow: 1px 1px 3px 2px #7C8CCB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7C8CCB; -webkit-box-shadow: 1px 1px 3px 2px #7C8CCB; box-shadow:1px 1px 3px 2px #7C8CCB;">
Div content here</div>
This text has color #7C8CCB on black background.
This text has color #7C8CCB on white background.
This text has black color on #7C8CCB background.
This text has white color on #7C8CCB background.