HEX: #684966
RGB: (104,73,102)
#684966 contains red, green and blue colors in about the same proportion. Web safe color of #684966 is #663366 (or #636).
#684966 color RGB value is (104,73,102).
RGB: (104,73,102) (41%,29%,40%)
R 104 of 255 = 41%
G 73 of 255 = 29%
B 102 of 255 = 40%
R + G + B ~ 37%. #684966 is quite dark color.
R + G + B =
104 + 73 + 102 = 279 (100%)
R 104 of 279 ~ 37.28%
G 73 of 279 ~ 26.16%
B 102 of 279 ~ 36.56%
#684966 color CMYK value is (0,30,2,59).
CMYK: (0,30,2,59) C0M30Y2K59 (0%,30%,2%,59%) (0.00/0.30/0.02/0.59)
68 | 49 | 66 | |
---|---|---|---|
RGB | 104 | 73 | 102 |
HSL | 304° | 17.51% | 34.71% |
HSB/HSV | 304° | 29.81% | 40.78% |
CMYK | 0.00% | 29.81% | 1.92% |
59.22% |
HEX | 68 | 49 | 66 |
Decimal | 104 | 73 | 102 |
Binary | 1101000 | 1001001 | 1100110 |
Octal | 150 | 111 | 146 |
Examples of css and html codes for elements with #684966 color. Also use rgb(104,73,102) instead hex code.
.myTextColor { color: #684966; }
<p style="color:#684966">This sample text font color is #684966.</p>
This text font color is #684966.
.myBgColor { background-color: #684966; }
<div style="background-color:#684966">Inner text</div>
This div background color is #684966.
.myBorderColor { border: 1px solid #684966; }
<div style="border:3px solid #684966">Div</div>
This div border color is #684966.
.myOpacity80 { color: #684966; opacity: 0.8; }
<p style="color:#684966;opacity:0.8;">80%</p>
Text with #684966 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #684966;}
<p style="text-shadow: 3px 3px 1px #684966">Text here.</p>
This text has shadow with #684966 color.
.textShadow {text-shadow: 3px 3px 1px #684966, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #684966, 5px 5px 20px red">Text here.</p>
This text has shadow with #684966 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#684966, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#684966, Direction=45, Strength=4)">Text</p>
This text has shadow with #684966 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #684966; -webkit-box-shadow: 1px 1px 3px 2px #684966; box-shadow: 1px 1px 3px 2px #684966; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #684966; -webkit-box-shadow: 1px 1px 3px 2px #684966; box-shadow:1px 1px 3px 2px #684966;">
Div content here</div>
This text has color #684966 on black background.
This text has color #684966 on white background.
This text has black color on #684966 background.
This text has white color on #684966 background.