HEX: #6C497E
RGB: (108,73,126)
#6C497E contains red, green and blue colors in about the same proportion. Web safe color of #6C497E is #663366 (or #636).
#6C497E color RGB value is (108,73,126).
RGB: (108,73,126) (42%,29%,49%)
R 108 of 255 = 42%
G 73 of 255 = 29%
B 126 of 255 = 49%
R + G + B ~ 40%. #6C497E is middle color (not dark and not light).
R + G + B =
108 + 73 + 126 = 307 (100%)
R 108 of 307 ~ 35.18%
G 73 of 307 ~ 23.78%
B 126 of 307 ~ 41.04%
#6C497E color CMYK value is (14,42,0,51).
CMYK: (14,42,0,51) C14M42Y0K51 (14%,42%,0%,51%) (0.14/0.42/0.00/0.51)
6C | 49 | 7E | |
---|---|---|---|
RGB | 108 | 73 | 126 |
HSL | 280° | 26.63% | 39.02% |
HSB/HSV | 280° | 42.06% | 49.41% |
CMYK | 14.29% | 42.06% | 0.00% |
50.59% |
HEX | 6C | 49 | 7E |
Decimal | 108 | 73 | 126 |
Binary | 1101100 | 1001001 | 1111110 |
Octal | 154 | 111 | 176 |
Examples of css and html codes for elements with #6C497E color. Also use rgb(108,73,126) instead hex code.
.myTextColor { color: #6C497E; }
<p style="color:#6C497E">This sample text font color is #6C497E.</p>
This text font color is #6C497E.
.myBgColor { background-color: #6C497E; }
<div style="background-color:#6C497E">Inner text</div>
This div background color is #6C497E.
.myBorderColor { border: 1px solid #6C497E; }
<div style="border:3px solid #6C497E">Div</div>
This div border color is #6C497E.
.myOpacity80 { color: #6C497E; opacity: 0.8; }
<p style="color:#6C497E;opacity:0.8;">80%</p>
Text with #6C497E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C497E;}
<p style="text-shadow: 3px 3px 1px #6C497E">Text here.</p>
This text has shadow with #6C497E color.
.textShadow {text-shadow: 3px 3px 1px #6C497E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C497E, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C497E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C497E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C497E, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C497E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C497E; -webkit-box-shadow: 1px 1px 3px 2px #6C497E; box-shadow: 1px 1px 3px 2px #6C497E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C497E; -webkit-box-shadow: 1px 1px 3px 2px #6C497E; box-shadow:1px 1px 3px 2px #6C497E;">
Div content here</div>
This text has color #6C497E on black background.
This text has color #6C497E on white background.
This text has black color on #6C497E background.
This text has white color on #6C497E background.