HEX: #7C709C
RGB: (124,112,156)
#7C709C contains red, green and blue colors in about the same proportion. Web safe color of #7C709C is #666699 (or #669).
#7C709C color RGB value is (124,112,156).
RGB: (124,112,156) (49%,44%,61%)
R 124 of 255 = 49%
G 112 of 255 = 44%
B 156 of 255 = 61%
R + G + B ~ 51%. #7C709C is middle color (not dark and not light).
R + G + B =
124 + 112 + 156 = 392 (100%)
R 124 of 392 ~ 31.63%
G 112 of 392 ~ 28.57%
B 156 of 392 ~ 39.8%
#7C709C color CMYK value is (21,28,0,39).
CMYK: (21,28,0,39) C21M28Y0K39 (21%,28%,0%,39%) (0.21/0.28/0.00/0.39)
7C | 70 | 9C | |
---|---|---|---|
RGB | 124 | 112 | 156 |
HSL | 256° | 18.18% | 52.55% |
HSB/HSV | 256° | 28.21% | 61.18% |
CMYK | 20.51% | 28.21% | 0.00% |
38.82% |
HEX | 7C | 70 | 9C |
Decimal | 124 | 112 | 156 |
Binary | 1111100 | 1110000 | 10011100 |
Octal | 174 | 160 | 234 |
Examples of css and html codes for elements with #7C709C color. Also use rgb(124,112,156) instead hex code.
.myTextColor { color: #7C709C; }
<p style="color:#7C709C">This sample text font color is #7C709C.</p>
This text font color is #7C709C.
.myBgColor { background-color: #7C709C; }
<div style="background-color:#7C709C">Inner text</div>
This div background color is #7C709C.
.myBorderColor { border: 1px solid #7C709C; }
<div style="border:3px solid #7C709C">Div</div>
This div border color is #7C709C.
.myOpacity80 { color: #7C709C; opacity: 0.8; }
<p style="color:#7C709C;opacity:0.8;">80%</p>
Text with #7C709C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7C709C;}
<p style="text-shadow: 3px 3px 1px #7C709C">Text here.</p>
This text has shadow with #7C709C color.
.textShadow {text-shadow: 3px 3px 1px #7C709C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7C709C, 5px 5px 20px red">Text here.</p>
This text has shadow with #7C709C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7C709C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7C709C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7C709C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7C709C; -webkit-box-shadow: 1px 1px 3px 2px #7C709C; box-shadow: 1px 1px 3px 2px #7C709C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7C709C; -webkit-box-shadow: 1px 1px 3px 2px #7C709C; box-shadow:1px 1px 3px 2px #7C709C;">
Div content here</div>
This text has color #7C709C on black background.
This text has color #7C709C on white background.
This text has black color on #7C709C background.
This text has white color on #7C709C background.