HEX: #66799B
RGB: (102,121,155)
#66799B contains red, green and blue colors in about the same proportion. Web safe color of #66799B is #666699 (or #669).
#66799B color RGB value is (102,121,155).
RGB: (102,121,155) (40%,47%,61%)
R 102 of 255 = 40%
G 121 of 255 = 47%
B 155 of 255 = 61%
R + G + B ~ 49%. #66799B is middle color (not dark and not light).
R + G + B =
102 + 121 + 155 = 378 (100%)
R 102 of 378 ~ 26.98%
G 121 of 378 ~ 32.01%
B 155 of 378 ~ 41.01%
#66799B color CMYK value is (34,22,0,39).
CMYK: (34,22,0,39) C34M22Y0K39 (34%,22%,0%,39%) (0.34/0.22/0.00/0.39)
66 | 79 | 9B | |
---|---|---|---|
RGB | 102 | 121 | 155 |
HSL | 218° | 20.95% | 50.39% |
HSB/HSV | 218° | 34.19% | 60.78% |
CMYK | 34.19% | 21.94% | 0.00% |
39.22% |
HEX | 66 | 79 | 9B |
Decimal | 102 | 121 | 155 |
Binary | 1100110 | 1111001 | 10011011 |
Octal | 146 | 171 | 233 |
Examples of css and html codes for elements with #66799B color. Also use rgb(102,121,155) instead hex code.
.myTextColor { color: #66799B; }
<p style="color:#66799B">This sample text font color is #66799B.</p>
This text font color is #66799B.
.myBgColor { background-color: #66799B; }
<div style="background-color:#66799B">Inner text</div>
This div background color is #66799B.
.myBorderColor { border: 1px solid #66799B; }
<div style="border:3px solid #66799B">Div</div>
This div border color is #66799B.
.myOpacity80 { color: #66799B; opacity: 0.8; }
<p style="color:#66799B;opacity:0.8;">80%</p>
Text with #66799B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #66799B;}
<p style="text-shadow: 3px 3px 1px #66799B">Text here.</p>
This text has shadow with #66799B color.
.textShadow {text-shadow: 3px 3px 1px #66799B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #66799B, 5px 5px 20px red">Text here.</p>
This text has shadow with #66799B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#66799B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#66799B, Direction=45, Strength=4)">Text</p>
This text has shadow with #66799B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #66799B; -webkit-box-shadow: 1px 1px 3px 2px #66799B; box-shadow: 1px 1px 3px 2px #66799B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #66799B; -webkit-box-shadow: 1px 1px 3px 2px #66799B; box-shadow:1px 1px 3px 2px #66799B;">
Div content here</div>
This text has color #66799B on black background.
This text has color #66799B on white background.
This text has black color on #66799B background.
This text has white color on #66799B background.