HEX: #684D86
RGB: (104,77,134)
#684D86 contains red, green and blue colors in about the same proportion. Web safe color of #684D86 is #663399 (or #639).
#684D86 color RGB value is (104,77,134).
RGB: (104,77,134) (41%,30%,53%)
R 104 of 255 = 41%
G 77 of 255 = 30%
B 134 of 255 = 53%
R + G + B ~ 41%. #684D86 is middle color (not dark and not light).
R + G + B =
104 + 77 + 134 = 315 (100%)
R 104 of 315 ~ 33.02%
G 77 of 315 ~ 24.44%
B 134 of 315 ~ 42.54%
#684D86 color CMYK value is (22,43,0,47).
CMYK: (22,43,0,47) C22M43Y0K47 (22%,43%,0%,47%) (0.22/0.43/0.00/0.47)
68 | 4D | 86 | |
---|---|---|---|
RGB | 104 | 77 | 134 |
HSL | 268° | 27.01% | 41.37% |
HSB/HSV | 268° | 42.54% | 52.55% |
CMYK | 22.39% | 42.54% | 0.00% |
47.45% |
HEX | 68 | 4D | 86 |
Decimal | 104 | 77 | 134 |
Binary | 1101000 | 1001101 | 10000110 |
Octal | 150 | 115 | 206 |
Examples of css and html codes for elements with #684D86 color. Also use rgb(104,77,134) instead hex code.
.myTextColor { color: #684D86; }
<p style="color:#684D86">This sample text font color is #684D86.</p>
This text font color is #684D86.
.myBgColor { background-color: #684D86; }
<div style="background-color:#684D86">Inner text</div>
This div background color is #684D86.
.myBorderColor { border: 1px solid #684D86; }
<div style="border:3px solid #684D86">Div</div>
This div border color is #684D86.
.myOpacity80 { color: #684D86; opacity: 0.8; }
<p style="color:#684D86;opacity:0.8;">80%</p>
Text with #684D86 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #684D86;}
<p style="text-shadow: 3px 3px 1px #684D86">Text here.</p>
This text has shadow with #684D86 color.
.textShadow {text-shadow: 3px 3px 1px #684D86, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #684D86, 5px 5px 20px red">Text here.</p>
This text has shadow with #684D86 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#684D86, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#684D86, Direction=45, Strength=4)">Text</p>
This text has shadow with #684D86 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #684D86; -webkit-box-shadow: 1px 1px 3px 2px #684D86; box-shadow: 1px 1px 3px 2px #684D86; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #684D86; -webkit-box-shadow: 1px 1px 3px 2px #684D86; box-shadow:1px 1px 3px 2px #684D86;">
Div content here</div>
This text has color #684D86 on black background.
This text has color #684D86 on white background.
This text has black color on #684D86 background.
This text has white color on #684D86 background.