HEX: #684989
RGB: (104,73,137)
#684989 contains mainly red and blue colors. Web safe color of #684989 is #663399 (or #639).
#684989 color RGB value is (104,73,137).
RGB: (104,73,137) (41%,29%,54%)
R 104 of 255 = 41%
G 73 of 255 = 29%
B 137 of 255 = 54%
R + G + B ~ 41%. #684989 is middle color (not dark and not light).
R + G + B =
104 + 73 + 137 = 314 (100%)
R 104 of 314 ~ 33.12%
G 73 of 314 ~ 23.25%
B 137 of 314 ~ 43.63%
#684989 color CMYK value is (24,47,0,46).
CMYK: (24,47,0,46) C24M47Y0K46 (24%,47%,0%,46%) (0.24/0.47/0.00/0.46)
68 | 49 | 89 | |
---|---|---|---|
RGB | 104 | 73 | 137 |
HSL | 269° | 30.48% | 41.18% |
HSB/HSV | 269° | 46.72% | 53.73% |
CMYK | 24.09% | 46.72% | 0.00% |
46.27% |
HEX | 68 | 49 | 89 |
Decimal | 104 | 73 | 137 |
Binary | 1101000 | 1001001 | 10001001 |
Octal | 150 | 111 | 211 |
Examples of css and html codes for elements with #684989 color. Also use rgb(104,73,137) instead hex code.
.myTextColor { color: #684989; }
<p style="color:#684989">This sample text font color is #684989.</p>
This text font color is #684989.
.myBgColor { background-color: #684989; }
<div style="background-color:#684989">Inner text</div>
This div background color is #684989.
.myBorderColor { border: 1px solid #684989; }
<div style="border:3px solid #684989">Div</div>
This div border color is #684989.
.myOpacity80 { color: #684989; opacity: 0.8; }
<p style="color:#684989;opacity:0.8;">80%</p>
Text with #684989 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #684989;}
<p style="text-shadow: 3px 3px 1px #684989">Text here.</p>
This text has shadow with #684989 color.
.textShadow {text-shadow: 3px 3px 1px #684989, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #684989, 5px 5px 20px red">Text here.</p>
This text has shadow with #684989 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#684989, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#684989, Direction=45, Strength=4)">Text</p>
This text has shadow with #684989 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #684989; -webkit-box-shadow: 1px 1px 3px 2px #684989; box-shadow: 1px 1px 3px 2px #684989; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #684989; -webkit-box-shadow: 1px 1px 3px 2px #684989; box-shadow:1px 1px 3px 2px #684989;">
Div content here</div>
This text has color #684989 on black background.
This text has color #684989 on white background.
This text has black color on #684989 background.
This text has white color on #684989 background.