HEX: #766CCE
RGB: (118,108,206)
#766CCE contains mainly blue color. Web safe color of #766CCE is #6666CC (or #66C).
#766CCE color RGB value is (118,108,206).
RGB: (118,108,206) (46%,42%,81%)
R 118 of 255 = 46%
G 108 of 255 = 42%
B 206 of 255 = 81%
R + G + B ~ 56%. #766CCE is middle color (not dark and not light).
R + G + B =
118 + 108 + 206 = 432 (100%)
R 118 of 432 ~ 27.31%
G 108 of 432 ~ 25%
B 206 of 432 ~ 47.69%
#766CCE color CMYK value is (43,48,0,19).
CMYK: (43,48,0,19) C43M48Y0K19 (43%,48%,0%,19%) (0.43/0.48/0.00/0.19)
76 | 6C | CE | |
---|---|---|---|
RGB | 118 | 108 | 206 |
HSL | 246° | 50.00% | 61.57% |
HSB/HSV | 246° | 47.57% | 80.78% |
CMYK | 42.72% | 47.57% | 0.00% |
19.22% |
HEX | 76 | 6C | CE |
Decimal | 118 | 108 | 206 |
Binary | 1110110 | 1101100 | 11001110 |
Octal | 166 | 154 | 316 |
Examples of css and html codes for elements with #766CCE color. Also use rgb(118,108,206) instead hex code.
.myTextColor { color: #766CCE; }
<p style="color:#766CCE">This sample text font color is #766CCE.</p>
This text font color is #766CCE.
.myBgColor { background-color: #766CCE; }
<div style="background-color:#766CCE">Inner text</div>
This div background color is #766CCE.
.myBorderColor { border: 1px solid #766CCE; }
<div style="border:3px solid #766CCE">Div</div>
This div border color is #766CCE.
.myOpacity80 { color: #766CCE; opacity: 0.8; }
<p style="color:#766CCE;opacity:0.8;">80%</p>
Text with #766CCE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #766CCE;}
<p style="text-shadow: 3px 3px 1px #766CCE">Text here.</p>
This text has shadow with #766CCE color.
.textShadow {text-shadow: 3px 3px 1px #766CCE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #766CCE, 5px 5px 20px red">Text here.</p>
This text has shadow with #766CCE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#766CCE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#766CCE, Direction=45, Strength=4)">Text</p>
This text has shadow with #766CCE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #766CCE; -webkit-box-shadow: 1px 1px 3px 2px #766CCE; box-shadow: 1px 1px 3px 2px #766CCE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #766CCE; -webkit-box-shadow: 1px 1px 3px 2px #766CCE; box-shadow:1px 1px 3px 2px #766CCE;">
Div content here</div>
This text has color #766CCE on black background.
This text has color #766CCE on white background.
This text has black color on #766CCE background.
This text has white color on #766CCE background.