HEX: #766FAB
RGB: (118,111,171)
#766FAB contains mainly red and blue colors. Web safe color of #766FAB is #666699 (or #669).
#766FAB color RGB value is (118,111,171).
RGB: (118,111,171) (46%,44%,67%)
R 118 of 255 = 46%
G 111 of 255 = 44%
B 171 of 255 = 67%
R + G + B ~ 52%. #766FAB is middle color (not dark and not light).
R + G + B =
118 + 111 + 171 = 400 (100%)
R 118 of 400 ~ 29.5%
G 111 of 400 ~ 27.75%
B 171 of 400 ~ 42.75%
#766FAB color CMYK value is (31,35,0,33).
CMYK: (31,35,0,33) C31M35Y0K33 (31%,35%,0%,33%) (0.31/0.35/0.00/0.33)
76 | 6F | AB | |
---|---|---|---|
RGB | 118 | 111 | 171 |
HSL | 247° | 26.32% | 55.29% |
HSB/HSV | 247° | 35.09% | 67.06% |
CMYK | 30.99% | 35.09% | 0.00% |
32.94% |
HEX | 76 | 6F | AB |
Decimal | 118 | 111 | 171 |
Binary | 1110110 | 1101111 | 10101011 |
Octal | 166 | 157 | 253 |
Examples of css and html codes for elements with #766FAB color. Also use rgb(118,111,171) instead hex code.
.myTextColor { color: #766FAB; }
<p style="color:#766FAB">This sample text font color is #766FAB.</p>
This text font color is #766FAB.
.myBgColor { background-color: #766FAB; }
<div style="background-color:#766FAB">Inner text</div>
This div background color is #766FAB.
.myBorderColor { border: 1px solid #766FAB; }
<div style="border:3px solid #766FAB">Div</div>
This div border color is #766FAB.
.myOpacity80 { color: #766FAB; opacity: 0.8; }
<p style="color:#766FAB;opacity:0.8;">80%</p>
Text with #766FAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #766FAB;}
<p style="text-shadow: 3px 3px 1px #766FAB">Text here.</p>
This text has shadow with #766FAB color.
.textShadow {text-shadow: 3px 3px 1px #766FAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #766FAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #766FAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#766FAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#766FAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #766FAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #766FAB; -webkit-box-shadow: 1px 1px 3px 2px #766FAB; box-shadow: 1px 1px 3px 2px #766FAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #766FAB; -webkit-box-shadow: 1px 1px 3px 2px #766FAB; box-shadow:1px 1px 3px 2px #766FAB;">
Div content here</div>
This text has color #766FAB on black background.
This text has color #766FAB on white background.
This text has black color on #766FAB background.
This text has white color on #766FAB background.