HEX: #685989
RGB: (104,89,137)
#685989 contains red, green and blue colors in about the same proportion. Web safe color of #685989 is #666699 (or #669).
#685989 color RGB value is (104,89,137).
RGB: (104,89,137) (41%,35%,54%)
R 104 of 255 = 41%
G 89 of 255 = 35%
B 137 of 255 = 54%
R + G + B ~ 43%. #685989 is middle color (not dark and not light).
R + G + B =
104 + 89 + 137 = 330 (100%)
R 104 of 330 ~ 31.52%
G 89 of 330 ~ 26.97%
B 137 of 330 ~ 41.52%
#685989 color CMYK value is (24,35,0,46).
CMYK: (24,35,0,46) C24M35Y0K46 (24%,35%,0%,46%) (0.24/0.35/0.00/0.46)
68 | 59 | 89 | |
---|---|---|---|
RGB | 104 | 89 | 137 |
HSL | 259° | 21.24% | 44.31% |
HSB/HSV | 259° | 35.04% | 53.73% |
CMYK | 24.09% | 35.04% | 0.00% |
46.27% |
HEX | 68 | 59 | 89 |
Decimal | 104 | 89 | 137 |
Binary | 1101000 | 1011001 | 10001001 |
Octal | 150 | 131 | 211 |
Examples of css and html codes for elements with #685989 color. Also use rgb(104,89,137) instead hex code.
.myTextColor { color: #685989; }
<p style="color:#685989">This sample text font color is #685989.</p>
This text font color is #685989.
.myBgColor { background-color: #685989; }
<div style="background-color:#685989">Inner text</div>
This div background color is #685989.
.myBorderColor { border: 1px solid #685989; }
<div style="border:3px solid #685989">Div</div>
This div border color is #685989.
.myOpacity80 { color: #685989; opacity: 0.8; }
<p style="color:#685989;opacity:0.8;">80%</p>
Text with #685989 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #685989;}
<p style="text-shadow: 3px 3px 1px #685989">Text here.</p>
This text has shadow with #685989 color.
.textShadow {text-shadow: 3px 3px 1px #685989, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #685989, 5px 5px 20px red">Text here.</p>
This text has shadow with #685989 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#685989, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#685989, Direction=45, Strength=4)">Text</p>
This text has shadow with #685989 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #685989; -webkit-box-shadow: 1px 1px 3px 2px #685989; box-shadow: 1px 1px 3px 2px #685989; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #685989; -webkit-box-shadow: 1px 1px 3px 2px #685989; box-shadow:1px 1px 3px 2px #685989;">
Div content here</div>
This text has color #685989 on black background.
This text has color #685989 on white background.
This text has black color on #685989 background.
This text has white color on #685989 background.