HEX: #684858
RGB: (104,72,88)
#684858 contains red, green and blue colors in about the same proportion. Web safe color of #684858 is #663366 (or #636).
#684858 color RGB value is (104,72,88).
RGB: (104,72,88) (41%,28%,35%)
R 104 of 255 = 41%
G 72 of 255 = 28%
B 88 of 255 = 35%
R + G + B ~ 35%. #684858 is quite dark color.
R + G + B =
104 + 72 + 88 = 264 (100%)
R 104 of 264 ~ 39.39%
G 72 of 264 ~ 27.27%
B 88 of 264 ~ 33.33%
#684858 color CMYK value is (0,31,15,59).
CMYK: (0,31,15,59) C0M31Y15K59 (0%,31%,15%,59%) (0.00/0.31/0.15/0.59)
68 | 48 | 58 | |
---|---|---|---|
RGB | 104 | 72 | 88 |
HSL | 330° | 18.18% | 34.51% |
HSB/HSV | 330° | 30.77% | 40.78% |
CMYK | 0.00% | 30.77% | 15.38% |
59.22% |
HEX | 68 | 48 | 58 |
Decimal | 104 | 72 | 88 |
Binary | 1101000 | 1001000 | 1011000 |
Octal | 150 | 110 | 130 |
Examples of css and html codes for elements with #684858 color. Also use rgb(104,72,88) instead hex code.
.myTextColor { color: #684858; }
<p style="color:#684858">This sample text font color is #684858.</p>
This text font color is #684858.
.myBgColor { background-color: #684858; }
<div style="background-color:#684858">Inner text</div>
This div background color is #684858.
.myBorderColor { border: 1px solid #684858; }
<div style="border:3px solid #684858">Div</div>
This div border color is #684858.
.myOpacity80 { color: #684858; opacity: 0.8; }
<p style="color:#684858;opacity:0.8;">80%</p>
Text with #684858 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #684858;}
<p style="text-shadow: 3px 3px 1px #684858">Text here.</p>
This text has shadow with #684858 color.
.textShadow {text-shadow: 3px 3px 1px #684858, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #684858, 5px 5px 20px red">Text here.</p>
This text has shadow with #684858 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#684858, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#684858, Direction=45, Strength=4)">Text</p>
This text has shadow with #684858 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #684858; -webkit-box-shadow: 1px 1px 3px 2px #684858; box-shadow: 1px 1px 3px 2px #684858; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #684858; -webkit-box-shadow: 1px 1px 3px 2px #684858; box-shadow:1px 1px 3px 2px #684858;">
Div content here</div>
This text has color #684858 on black background.
This text has color #684858 on white background.
This text has black color on #684858 background.
This text has white color on #684858 background.