HEX: #7F76D7
RGB: (127,118,215)
#7F76D7 contains mainly blue color. Web safe color of #7F76D7 is #6666CC (or #66C).
#7F76D7 color RGB value is (127,118,215).
RGB: (127,118,215) (50%,46%,84%)
R 127 of 255 = 50%
G 118 of 255 = 46%
B 215 of 255 = 84%
R + G + B ~ 60%. #7F76D7 is middle color (not dark and not light).
R + G + B =
127 + 118 + 215 = 460 (100%)
R 127 of 460 ~ 27.61%
G 118 of 460 ~ 25.65%
B 215 of 460 ~ 46.74%
#7F76D7 color CMYK value is (41,45,0,16).
CMYK: (41,45,0,16) C41M45Y0K16 (41%,45%,0%,16%) (0.41/0.45/0.00/0.16)
7F | 76 | D7 | |
---|---|---|---|
RGB | 127 | 118 | 215 |
HSL | 246° | 54.80% | 65.29% |
HSB/HSV | 246° | 45.12% | 84.31% |
CMYK | 40.93% | 45.12% | 0.00% |
15.69% |
HEX | 7F | 76 | D7 |
Decimal | 127 | 118 | 215 |
Binary | 1111111 | 1110110 | 11010111 |
Octal | 177 | 166 | 327 |
Examples of css and html codes for elements with #7F76D7 color. Also use rgb(127,118,215) instead hex code.
.myTextColor { color: #7F76D7; }
<p style="color:#7F76D7">This sample text font color is #7F76D7.</p>
This text font color is #7F76D7.
.myBgColor { background-color: #7F76D7; }
<div style="background-color:#7F76D7">Inner text</div>
This div background color is #7F76D7.
.myBorderColor { border: 1px solid #7F76D7; }
<div style="border:3px solid #7F76D7">Div</div>
This div border color is #7F76D7.
.myOpacity80 { color: #7F76D7; opacity: 0.8; }
<p style="color:#7F76D7;opacity:0.8;">80%</p>
Text with #7F76D7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7F76D7;}
<p style="text-shadow: 3px 3px 1px #7F76D7">Text here.</p>
This text has shadow with #7F76D7 color.
.textShadow {text-shadow: 3px 3px 1px #7F76D7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7F76D7, 5px 5px 20px red">Text here.</p>
This text has shadow with #7F76D7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7F76D7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7F76D7, Direction=45, Strength=4)">Text</p>
This text has shadow with #7F76D7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7F76D7; -webkit-box-shadow: 1px 1px 3px 2px #7F76D7; box-shadow: 1px 1px 3px 2px #7F76D7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7F76D7; -webkit-box-shadow: 1px 1px 3px 2px #7F76D7; box-shadow:1px 1px 3px 2px #7F76D7;">
Div content here</div>
This text has color #7F76D7 on black background.
This text has color #7F76D7 on white background.
This text has black color on #7F76D7 background.
This text has white color on #7F76D7 background.