HEX: #764DAF
RGB: (118,77,175)
#764DAF contains mainly red and blue colors. Web safe color of #764DAF is #663399 (or #639).
#764DAF color RGB value is (118,77,175).
RGB: (118,77,175) (46%,30%,69%)
R 118 of 255 = 46%
G 77 of 255 = 30%
B 175 of 255 = 69%
R + G + B ~ 48%. #764DAF is middle color (not dark and not light).
R + G + B =
118 + 77 + 175 = 370 (100%)
R 118 of 370 ~ 31.89%
G 77 of 370 ~ 20.81%
B 175 of 370 ~ 47.3%
#764DAF color CMYK value is (33,56,0,31).
CMYK: (33,56,0,31) C33M56Y0K31 (33%,56%,0%,31%) (0.33/0.56/0.00/0.31)
76 | 4D | AF | |
---|---|---|---|
RGB | 118 | 77 | 175 |
HSL | 265° | 38.89% | 49.41% |
HSB/HSV | 265° | 56.00% | 68.63% |
CMYK | 32.57% | 56.00% | 0.00% |
31.37% |
HEX | 76 | 4D | AF |
Decimal | 118 | 77 | 175 |
Binary | 1110110 | 1001101 | 10101111 |
Octal | 166 | 115 | 257 |
Examples of css and html codes for elements with #764DAF color. Also use rgb(118,77,175) instead hex code.
.myTextColor { color: #764DAF; }
<p style="color:#764DAF">This sample text font color is #764DAF.</p>
This text font color is #764DAF.
.myBgColor { background-color: #764DAF; }
<div style="background-color:#764DAF">Inner text</div>
This div background color is #764DAF.
.myBorderColor { border: 1px solid #764DAF; }
<div style="border:3px solid #764DAF">Div</div>
This div border color is #764DAF.
.myOpacity80 { color: #764DAF; opacity: 0.8; }
<p style="color:#764DAF;opacity:0.8;">80%</p>
Text with #764DAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #764DAF;}
<p style="text-shadow: 3px 3px 1px #764DAF">Text here.</p>
This text has shadow with #764DAF color.
.textShadow {text-shadow: 3px 3px 1px #764DAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #764DAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #764DAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#764DAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#764DAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #764DAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #764DAF; -webkit-box-shadow: 1px 1px 3px 2px #764DAF; box-shadow: 1px 1px 3px 2px #764DAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #764DAF; -webkit-box-shadow: 1px 1px 3px 2px #764DAF; box-shadow:1px 1px 3px 2px #764DAF;">
Div content here</div>
This text has color #764DAF on black background.
This text has color #764DAF on white background.
This text has black color on #764DAF background.
This text has white color on #764DAF background.