HEX: #764F89
RGB: (118,79,137)
#764F89 contains red, green and blue colors in about the same proportion. Web safe color of #764F89 is #666699 (or #669).
#764F89 color RGB value is (118,79,137).
RGB: (118,79,137) (46%,31%,54%)
R 118 of 255 = 46%
G 79 of 255 = 31%
B 137 of 255 = 54%
R + G + B ~ 44%. #764F89 is middle color (not dark and not light).
R + G + B =
118 + 79 + 137 = 334 (100%)
R 118 of 334 ~ 35.33%
G 79 of 334 ~ 23.65%
B 137 of 334 ~ 41.02%
#764F89 color CMYK value is (14,42,0,46).
CMYK: (14,42,0,46) C14M42Y0K46 (14%,42%,0%,46%) (0.14/0.42/0.00/0.46)
76 | 4F | 89 | |
---|---|---|---|
RGB | 118 | 79 | 137 |
HSL | 280° | 26.85% | 42.35% |
HSB/HSV | 280° | 42.34% | 53.73% |
CMYK | 13.87% | 42.34% | 0.00% |
46.27% |
HEX | 76 | 4F | 89 |
Decimal | 118 | 79 | 137 |
Binary | 1110110 | 1001111 | 10001001 |
Octal | 166 | 117 | 211 |
Examples of css and html codes for elements with #764F89 color. Also use rgb(118,79,137) instead hex code.
.myTextColor { color: #764F89; }
<p style="color:#764F89">This sample text font color is #764F89.</p>
This text font color is #764F89.
.myBgColor { background-color: #764F89; }
<div style="background-color:#764F89">Inner text</div>
This div background color is #764F89.
.myBorderColor { border: 1px solid #764F89; }
<div style="border:3px solid #764F89">Div</div>
This div border color is #764F89.
.myOpacity80 { color: #764F89; opacity: 0.8; }
<p style="color:#764F89;opacity:0.8;">80%</p>
Text with #764F89 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #764F89;}
<p style="text-shadow: 3px 3px 1px #764F89">Text here.</p>
This text has shadow with #764F89 color.
.textShadow {text-shadow: 3px 3px 1px #764F89, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #764F89, 5px 5px 20px red">Text here.</p>
This text has shadow with #764F89 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#764F89, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#764F89, Direction=45, Strength=4)">Text</p>
This text has shadow with #764F89 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #764F89; -webkit-box-shadow: 1px 1px 3px 2px #764F89; box-shadow: 1px 1px 3px 2px #764F89; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #764F89; -webkit-box-shadow: 1px 1px 3px 2px #764F89; box-shadow:1px 1px 3px 2px #764F89;">
Div content here</div>
This text has color #764F89 on black background.
This text has color #764F89 on white background.
This text has black color on #764F89 background.
This text has white color on #764F89 background.