HEX: #684678
RGB: (104,70,120)
#684678 contains red, green and blue colors in about the same proportion. Web safe color of #684678 is #663366 (or #636).
#684678 color RGB value is (104,70,120).
RGB: (104,70,120) (41%,27%,47%)
R 104 of 255 = 41%
G 70 of 255 = 27%
B 120 of 255 = 47%
R + G + B ~ 38%. #684678 is quite dark color.
R + G + B =
104 + 70 + 120 = 294 (100%)
R 104 of 294 ~ 35.37%
G 70 of 294 ~ 23.81%
B 120 of 294 ~ 40.82%
#684678 color CMYK value is (13,42,0,53).
CMYK: (13,42,0,53) C13M42Y0K53 (13%,42%,0%,53%) (0.13/0.42/0.00/0.53)
68 | 46 | 78 | |
---|---|---|---|
RGB | 104 | 70 | 120 |
HSL | 281° | 26.32% | 37.25% |
HSB/HSV | 281° | 41.67% | 47.06% |
CMYK | 13.33% | 41.67% | 0.00% |
52.94% |
HEX | 68 | 46 | 78 |
Decimal | 104 | 70 | 120 |
Binary | 1101000 | 1000110 | 1111000 |
Octal | 150 | 106 | 170 |
Examples of css and html codes for elements with #684678 color. Also use rgb(104,70,120) instead hex code.
.myTextColor { color: #684678; }
<p style="color:#684678">This sample text font color is #684678.</p>
This text font color is #684678.
.myBgColor { background-color: #684678; }
<div style="background-color:#684678">Inner text</div>
This div background color is #684678.
.myBorderColor { border: 1px solid #684678; }
<div style="border:3px solid #684678">Div</div>
This div border color is #684678.
.myOpacity80 { color: #684678; opacity: 0.8; }
<p style="color:#684678;opacity:0.8;">80%</p>
Text with #684678 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #684678;}
<p style="text-shadow: 3px 3px 1px #684678">Text here.</p>
This text has shadow with #684678 color.
.textShadow {text-shadow: 3px 3px 1px #684678, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #684678, 5px 5px 20px red">Text here.</p>
This text has shadow with #684678 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#684678, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#684678, Direction=45, Strength=4)">Text</p>
This text has shadow with #684678 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #684678; -webkit-box-shadow: 1px 1px 3px 2px #684678; box-shadow: 1px 1px 3px 2px #684678; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #684678; -webkit-box-shadow: 1px 1px 3px 2px #684678; box-shadow:1px 1px 3px 2px #684678;">
Div content here</div>
This text has color #684678 on black background.
This text has color #684678 on white background.
This text has black color on #684678 background.
This text has white color on #684678 background.