HEX: #7B7ECC
RGB: (123,126,204)
#7B7ECC contains mainly blue color. Web safe color of #7B7ECC is #6666CC (or #66C).
#7B7ECC color RGB value is (123,126,204).
RGB: (123,126,204) (48%,49%,80%)
R 123 of 255 = 48%
G 126 of 255 = 49%
B 204 of 255 = 80%
R + G + B ~ 59%. #7B7ECC is middle color (not dark and not light).
R + G + B =
123 + 126 + 204 = 453 (100%)
R 123 of 453 ~ 27.15%
G 126 of 453 ~ 27.81%
B 204 of 453 ~ 45.03%
#7B7ECC color CMYK value is (40,38,0,20).
CMYK: (40,38,0,20) C40M38Y0K20 (40%,38%,0%,20%) (0.40/0.38/0.00/0.20)
7B | 7E | CC | |
---|---|---|---|
RGB | 123 | 126 | 204 |
HSL | 238° | 44.26% | 64.12% |
HSB/HSV | 238° | 39.71% | 80.00% |
CMYK | 39.71% | 38.24% | 0.00% |
20.00% |
HEX | 7B | 7E | CC |
Decimal | 123 | 126 | 204 |
Binary | 1111011 | 1111110 | 11001100 |
Octal | 173 | 176 | 314 |
Examples of css and html codes for elements with #7B7ECC color. Also use rgb(123,126,204) instead hex code.
.myTextColor { color: #7B7ECC; }
<p style="color:#7B7ECC">This sample text font color is #7B7ECC.</p>
This text font color is #7B7ECC.
.myBgColor { background-color: #7B7ECC; }
<div style="background-color:#7B7ECC">Inner text</div>
This div background color is #7B7ECC.
.myBorderColor { border: 1px solid #7B7ECC; }
<div style="border:3px solid #7B7ECC">Div</div>
This div border color is #7B7ECC.
.myOpacity80 { color: #7B7ECC; opacity: 0.8; }
<p style="color:#7B7ECC;opacity:0.8;">80%</p>
Text with #7B7ECC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B7ECC;}
<p style="text-shadow: 3px 3px 1px #7B7ECC">Text here.</p>
This text has shadow with #7B7ECC color.
.textShadow {text-shadow: 3px 3px 1px #7B7ECC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B7ECC, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B7ECC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B7ECC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B7ECC, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B7ECC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B7ECC; -webkit-box-shadow: 1px 1px 3px 2px #7B7ECC; box-shadow: 1px 1px 3px 2px #7B7ECC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B7ECC; -webkit-box-shadow: 1px 1px 3px 2px #7B7ECC; box-shadow:1px 1px 3px 2px #7B7ECC;">
Div content here</div>
This text has color #7B7ECC on black background.
This text has color #7B7ECC on white background.
This text has black color on #7B7ECC background.
This text has white color on #7B7ECC background.