HEX: #668099
RGB: (102,128,153)
#668099 contains red, green and blue colors in about the same proportion. Web safe color of #668099 is #666699 (or #669).
#668099 color RGB value is (102,128,153).
RGB: (102,128,153) (40%,50%,60%)
R 102 of 255 = 40%
G 128 of 255 = 50%
B 153 of 255 = 60%
R + G + B ~ 50%. #668099 is middle color (not dark and not light).
R + G + B =
102 + 128 + 153 = 383 (100%)
R 102 of 383 ~ 26.63%
G 128 of 383 ~ 33.42%
B 153 of 383 ~ 39.95%
#668099 color CMYK value is (33,16,0,40).
CMYK: (33,16,0,40) C33M16Y0K40 (33%,16%,0%,40%) (0.33/0.16/0.00/0.40)
66 | 80 | 99 | |
---|---|---|---|
RGB | 102 | 128 | 153 |
HSL | 209° | 20.00% | 50.00% |
HSB/HSV | 209° | 33.33% | 60.00% |
CMYK | 33.33% | 16.34% | 0.00% |
40.00% |
HEX | 66 | 80 | 99 |
Decimal | 102 | 128 | 153 |
Binary | 1100110 | 10000000 | 10011001 |
Octal | 146 | 200 | 231 |
Examples of css and html codes for elements with #668099 color. Also use rgb(102,128,153) instead hex code.
.myTextColor { color: #668099; }
<p style="color:#668099">This sample text font color is #668099.</p>
This text font color is #668099.
.myBgColor { background-color: #668099; }
<div style="background-color:#668099">Inner text</div>
This div background color is #668099.
.myBorderColor { border: 1px solid #668099; }
<div style="border:3px solid #668099">Div</div>
This div border color is #668099.
.myOpacity80 { color: #668099; opacity: 0.8; }
<p style="color:#668099;opacity:0.8;">80%</p>
Text with #668099 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #668099;}
<p style="text-shadow: 3px 3px 1px #668099">Text here.</p>
This text has shadow with #668099 color.
.textShadow {text-shadow: 3px 3px 1px #668099, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #668099, 5px 5px 20px red">Text here.</p>
This text has shadow with #668099 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#668099, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#668099, Direction=45, Strength=4)">Text</p>
This text has shadow with #668099 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #668099; -webkit-box-shadow: 1px 1px 3px 2px #668099; box-shadow: 1px 1px 3px 2px #668099; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #668099; -webkit-box-shadow: 1px 1px 3px 2px #668099; box-shadow:1px 1px 3px 2px #668099;">
Div content here</div>
This text has color #668099 on black background.
This text has color #668099 on white background.
This text has black color on #668099 background.
This text has white color on #668099 background.