HEX: #6E799D
RGB: (110,121,157)
#6E799D contains red, green and blue colors in about the same proportion. Web safe color of #6E799D is #666699 (or #669).
#6E799D color RGB value is (110,121,157).
RGB: (110,121,157) (43%,47%,62%)
R 110 of 255 = 43%
G 121 of 255 = 47%
B 157 of 255 = 62%
R + G + B ~ 51%. #6E799D is middle color (not dark and not light).
R + G + B =
110 + 121 + 157 = 388 (100%)
R 110 of 388 ~ 28.35%
G 121 of 388 ~ 31.19%
B 157 of 388 ~ 40.46%
#6E799D color CMYK value is (30,23,0,38).
CMYK: (30,23,0,38) C30M23Y0K38 (30%,23%,0%,38%) (0.30/0.23/0.00/0.38)
6E | 79 | 9D | |
---|---|---|---|
RGB | 110 | 121 | 157 |
HSL | 226° | 19.34% | 52.35% |
HSB/HSV | 226° | 29.94% | 61.57% |
CMYK | 29.94% | 22.93% | 0.00% |
38.43% |
HEX | 6E | 79 | 9D |
Decimal | 110 | 121 | 157 |
Binary | 1101110 | 1111001 | 10011101 |
Octal | 156 | 171 | 235 |
Examples of css and html codes for elements with #6E799D color. Also use rgb(110,121,157) instead hex code.
.myTextColor { color: #6E799D; }
<p style="color:#6E799D">This sample text font color is #6E799D.</p>
This text font color is #6E799D.
.myBgColor { background-color: #6E799D; }
<div style="background-color:#6E799D">Inner text</div>
This div background color is #6E799D.
.myBorderColor { border: 1px solid #6E799D; }
<div style="border:3px solid #6E799D">Div</div>
This div border color is #6E799D.
.myOpacity80 { color: #6E799D; opacity: 0.8; }
<p style="color:#6E799D;opacity:0.8;">80%</p>
Text with #6E799D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E799D;}
<p style="text-shadow: 3px 3px 1px #6E799D">Text here.</p>
This text has shadow with #6E799D color.
.textShadow {text-shadow: 3px 3px 1px #6E799D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E799D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E799D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E799D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E799D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E799D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E799D; -webkit-box-shadow: 1px 1px 3px 2px #6E799D; box-shadow: 1px 1px 3px 2px #6E799D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E799D; -webkit-box-shadow: 1px 1px 3px 2px #6E799D; box-shadow:1px 1px 3px 2px #6E799D;">
Div content here</div>
This text has color #6E799D on black background.
This text has color #6E799D on white background.
This text has black color on #6E799D background.
This text has white color on #6E799D background.