HEX: #7C7BA5
RGB: (124,123,165)
#7C7BA5 contains red, green and blue colors in about the same proportion. Web safe color of #7C7BA5 is #666699 (or #669).
#7C7BA5 color RGB value is (124,123,165).
RGB: (124,123,165) (49%,48%,65%)
R 124 of 255 = 49%
G 123 of 255 = 48%
B 165 of 255 = 65%
R + G + B ~ 54%. #7C7BA5 is middle color (not dark and not light).
R + G + B =
124 + 123 + 165 = 412 (100%)
R 124 of 412 ~ 30.1%
G 123 of 412 ~ 29.85%
B 165 of 412 ~ 40.05%
#7C7BA5 color CMYK value is (25,25,0,35).
CMYK: (25,25,0,35) C25M25Y0K35 (25%,25%,0%,35%) (0.25/0.25/0.00/0.35)
7C | 7B | A5 | |
---|---|---|---|
RGB | 124 | 123 | 165 |
HSL | 241° | 18.92% | 56.47% |
HSB/HSV | 241° | 25.45% | 64.71% |
CMYK | 24.85% | 25.45% | 0.00% |
35.29% |
HEX | 7C | 7B | A5 |
Decimal | 124 | 123 | 165 |
Binary | 1111100 | 1111011 | 10100101 |
Octal | 174 | 173 | 245 |
Examples of css and html codes for elements with #7C7BA5 color. Also use rgb(124,123,165) instead hex code.
.myTextColor { color: #7C7BA5; }
<p style="color:#7C7BA5">This sample text font color is #7C7BA5.</p>
This text font color is #7C7BA5.
.myBgColor { background-color: #7C7BA5; }
<div style="background-color:#7C7BA5">Inner text</div>
This div background color is #7C7BA5.
.myBorderColor { border: 1px solid #7C7BA5; }
<div style="border:3px solid #7C7BA5">Div</div>
This div border color is #7C7BA5.
.myOpacity80 { color: #7C7BA5; opacity: 0.8; }
<p style="color:#7C7BA5;opacity:0.8;">80%</p>
Text with #7C7BA5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7C7BA5;}
<p style="text-shadow: 3px 3px 1px #7C7BA5">Text here.</p>
This text has shadow with #7C7BA5 color.
.textShadow {text-shadow: 3px 3px 1px #7C7BA5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7C7BA5, 5px 5px 20px red">Text here.</p>
This text has shadow with #7C7BA5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7C7BA5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7C7BA5, Direction=45, Strength=4)">Text</p>
This text has shadow with #7C7BA5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7C7BA5; -webkit-box-shadow: 1px 1px 3px 2px #7C7BA5; box-shadow: 1px 1px 3px 2px #7C7BA5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7C7BA5; -webkit-box-shadow: 1px 1px 3px 2px #7C7BA5; box-shadow:1px 1px 3px 2px #7C7BA5;">
Div content here</div>
This text has color #7C7BA5 on black background.
This text has color #7C7BA5 on white background.
This text has black color on #7C7BA5 background.
This text has white color on #7C7BA5 background.