HEX: #664472
RGB: (102,68,114)
#664472 contains red, green and blue colors in about the same proportion. Web safe color of #664472 is #663366 (or #636).
#664472 color RGB value is (102,68,114).
RGB: (102,68,114) (40%,27%,45%)
R 102 of 255 = 40%
G 68 of 255 = 27%
B 114 of 255 = 45%
R + G + B ~ 37%. #664472 is quite dark color.
R + G + B =
102 + 68 + 114 = 284 (100%)
R 102 of 284 ~ 35.92%
G 68 of 284 ~ 23.94%
B 114 of 284 ~ 40.14%
#664472 color CMYK value is (11,40,0,55).
CMYK: (11,40,0,55) C11M40Y0K55 (11%,40%,0%,55%) (0.11/0.40/0.00/0.55)
66 | 44 | 72 | |
---|---|---|---|
RGB | 102 | 68 | 114 |
HSL | 284° | 25.27% | 35.69% |
HSB/HSV | 284° | 40.35% | 44.71% |
CMYK | 10.53% | 40.35% | 0.00% |
55.29% |
HEX | 66 | 44 | 72 |
Decimal | 102 | 68 | 114 |
Binary | 1100110 | 1000100 | 1110010 |
Octal | 146 | 104 | 162 |
Examples of css and html codes for elements with #664472 color. Also use rgb(102,68,114) instead hex code.
.myTextColor { color: #664472; }
<p style="color:#664472">This sample text font color is #664472.</p>
This text font color is #664472.
.myBgColor { background-color: #664472; }
<div style="background-color:#664472">Inner text</div>
This div background color is #664472.
.myBorderColor { border: 1px solid #664472; }
<div style="border:3px solid #664472">Div</div>
This div border color is #664472.
.myOpacity80 { color: #664472; opacity: 0.8; }
<p style="color:#664472;opacity:0.8;">80%</p>
Text with #664472 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #664472;}
<p style="text-shadow: 3px 3px 1px #664472">Text here.</p>
This text has shadow with #664472 color.
.textShadow {text-shadow: 3px 3px 1px #664472, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #664472, 5px 5px 20px red">Text here.</p>
This text has shadow with #664472 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#664472, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#664472, Direction=45, Strength=4)">Text</p>
This text has shadow with #664472 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #664472; -webkit-box-shadow: 1px 1px 3px 2px #664472; box-shadow: 1px 1px 3px 2px #664472; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #664472; -webkit-box-shadow: 1px 1px 3px 2px #664472; box-shadow:1px 1px 3px 2px #664472;">
Div content here</div>
This text has color #664472 on black background.
This text has color #664472 on white background.
This text has black color on #664472 background.
This text has white color on #664472 background.