HEX: #664C88
RGB: (102,76,136)
#664C88 contains mainly red and blue colors. Web safe color of #664C88 is #663399 (or #639).
#664C88 color RGB value is (102,76,136).
RGB: (102,76,136) (40%,30%,53%)
R 102 of 255 = 40%
G 76 of 255 = 30%
B 136 of 255 = 53%
R + G + B ~ 41%. #664C88 is middle color (not dark and not light).
R + G + B =
102 + 76 + 136 = 314 (100%)
R 102 of 314 ~ 32.48%
G 76 of 314 ~ 24.2%
B 136 of 314 ~ 43.31%
#664C88 color CMYK value is (25,44,0,47).
CMYK: (25,44,0,47) C25M44Y0K47 (25%,44%,0%,47%) (0.25/0.44/0.00/0.47)
66 | 4C | 88 | |
---|---|---|---|
RGB | 102 | 76 | 136 |
HSL | 266° | 28.30% | 41.57% |
HSB/HSV | 266° | 44.12% | 53.33% |
CMYK | 25.00% | 44.12% | 0.00% |
46.67% |
HEX | 66 | 4C | 88 |
Decimal | 102 | 76 | 136 |
Binary | 1100110 | 1001100 | 10001000 |
Octal | 146 | 114 | 210 |
Examples of css and html codes for elements with #664C88 color. Also use rgb(102,76,136) instead hex code.
.myTextColor { color: #664C88; }
<p style="color:#664C88">This sample text font color is #664C88.</p>
This text font color is #664C88.
.myBgColor { background-color: #664C88; }
<div style="background-color:#664C88">Inner text</div>
This div background color is #664C88.
.myBorderColor { border: 1px solid #664C88; }
<div style="border:3px solid #664C88">Div</div>
This div border color is #664C88.
.myOpacity80 { color: #664C88; opacity: 0.8; }
<p style="color:#664C88;opacity:0.8;">80%</p>
Text with #664C88 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #664C88;}
<p style="text-shadow: 3px 3px 1px #664C88">Text here.</p>
This text has shadow with #664C88 color.
.textShadow {text-shadow: 3px 3px 1px #664C88, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #664C88, 5px 5px 20px red">Text here.</p>
This text has shadow with #664C88 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#664C88, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#664C88, Direction=45, Strength=4)">Text</p>
This text has shadow with #664C88 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #664C88; -webkit-box-shadow: 1px 1px 3px 2px #664C88; box-shadow: 1px 1px 3px 2px #664C88; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #664C88; -webkit-box-shadow: 1px 1px 3px 2px #664C88; box-shadow:1px 1px 3px 2px #664C88;">
Div content here</div>
This text has color #664C88 on black background.
This text has color #664C88 on white background.
This text has black color on #664C88 background.
This text has white color on #664C88 background.