HEX: #684E9E
RGB: (104,78,158)
#684E9E contains mainly red and blue colors. Web safe color of #684E9E is #666699 (or #669).
#684E9E color RGB value is (104,78,158).
RGB: (104,78,158) (41%,31%,62%)
R 104 of 255 = 41%
G 78 of 255 = 31%
B 158 of 255 = 62%
R + G + B ~ 45%. #684E9E is middle color (not dark and not light).
R + G + B =
104 + 78 + 158 = 340 (100%)
R 104 of 340 ~ 30.59%
G 78 of 340 ~ 22.94%
B 158 of 340 ~ 46.47%
#684E9E color CMYK value is (34,51,0,38).
CMYK: (34,51,0,38) C34M51Y0K38 (34%,51%,0%,38%) (0.34/0.51/0.00/0.38)
68 | 4E | 9E | |
---|---|---|---|
RGB | 104 | 78 | 158 |
HSL | 260° | 33.90% | 46.27% |
HSB/HSV | 260° | 50.63% | 61.96% |
CMYK | 34.18% | 50.63% | 0.00% |
38.04% |
HEX | 68 | 4E | 9E |
Decimal | 104 | 78 | 158 |
Binary | 1101000 | 1001110 | 10011110 |
Octal | 150 | 116 | 236 |
Examples of css and html codes for elements with #684E9E color. Also use rgb(104,78,158) instead hex code.
.myTextColor { color: #684E9E; }
<p style="color:#684E9E">This sample text font color is #684E9E.</p>
This text font color is #684E9E.
.myBgColor { background-color: #684E9E; }
<div style="background-color:#684E9E">Inner text</div>
This div background color is #684E9E.
.myBorderColor { border: 1px solid #684E9E; }
<div style="border:3px solid #684E9E">Div</div>
This div border color is #684E9E.
.myOpacity80 { color: #684E9E; opacity: 0.8; }
<p style="color:#684E9E;opacity:0.8;">80%</p>
Text with #684E9E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #684E9E;}
<p style="text-shadow: 3px 3px 1px #684E9E">Text here.</p>
This text has shadow with #684E9E color.
.textShadow {text-shadow: 3px 3px 1px #684E9E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #684E9E, 5px 5px 20px red">Text here.</p>
This text has shadow with #684E9E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#684E9E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#684E9E, Direction=45, Strength=4)">Text</p>
This text has shadow with #684E9E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #684E9E; -webkit-box-shadow: 1px 1px 3px 2px #684E9E; box-shadow: 1px 1px 3px 2px #684E9E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #684E9E; -webkit-box-shadow: 1px 1px 3px 2px #684E9E; box-shadow:1px 1px 3px 2px #684E9E;">
Div content here</div>
This text has color #684E9E on black background.
This text has color #684E9E on white background.
This text has black color on #684E9E background.
This text has white color on #684E9E background.