HEX: #7E9FD5
RGB: (126,159,213)
#7E9FD5 contains mainly green and blue colors. Web safe color of #7E9FD5 is #6699CC (or #69C).
#7E9FD5 color RGB value is (126,159,213).
RGB: (126,159,213) (49%,62%,84%)
R 126 of 255 = 49%
G 159 of 255 = 62%
B 213 of 255 = 84%
R + G + B ~ 65%. #7E9FD5 is quite light color.
R + G + B =
126 + 159 + 213 = 498 (100%)
R 126 of 498 ~ 25.3%
G 159 of 498 ~ 31.93%
B 213 of 498 ~ 42.77%
#7E9FD5 color CMYK value is (41,25,0,16).
CMYK: (41,25,0,16) C41M25Y0K16 (41%,25%,0%,16%) (0.41/0.25/0.00/0.16)
7E | 9F | D5 | |
---|---|---|---|
RGB | 126 | 159 | 213 |
HSL | 217° | 50.88% | 66.47% |
HSB/HSV | 217° | 40.85% | 83.53% |
CMYK | 40.85% | 25.35% | 0.00% |
16.47% |
HEX | 7E | 9F | D5 |
Decimal | 126 | 159 | 213 |
Binary | 1111110 | 10011111 | 11010101 |
Octal | 176 | 237 | 325 |
Examples of css and html codes for elements with #7E9FD5 color. Also use rgb(126,159,213) instead hex code.
.myTextColor { color: #7E9FD5; }
<p style="color:#7E9FD5">This sample text font color is #7E9FD5.</p>
This text font color is #7E9FD5.
.myBgColor { background-color: #7E9FD5; }
<div style="background-color:#7E9FD5">Inner text</div>
This div background color is #7E9FD5.
.myBorderColor { border: 1px solid #7E9FD5; }
<div style="border:3px solid #7E9FD5">Div</div>
This div border color is #7E9FD5.
.myOpacity80 { color: #7E9FD5; opacity: 0.8; }
<p style="color:#7E9FD5;opacity:0.8;">80%</p>
Text with #7E9FD5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E9FD5;}
<p style="text-shadow: 3px 3px 1px #7E9FD5">Text here.</p>
This text has shadow with #7E9FD5 color.
.textShadow {text-shadow: 3px 3px 1px #7E9FD5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E9FD5, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E9FD5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E9FD5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E9FD5, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E9FD5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E9FD5; -webkit-box-shadow: 1px 1px 3px 2px #7E9FD5; box-shadow: 1px 1px 3px 2px #7E9FD5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E9FD5; -webkit-box-shadow: 1px 1px 3px 2px #7E9FD5; box-shadow:1px 1px 3px 2px #7E9FD5;">
Div content here</div>
This text has color #7E9FD5 on black background.
This text has color #7E9FD5 on white background.
This text has black color on #7E9FD5 background.
This text has white color on #7E9FD5 background.