HEX: #664868
RGB: (102,72,104)
#664868 contains red, green and blue colors in about the same proportion. Web safe color of #664868 is #663366 (or #636).
#664868 color RGB value is (102,72,104).
RGB: (102,72,104) (40%,28%,41%)
R 102 of 255 = 40%
G 72 of 255 = 28%
B 104 of 255 = 41%
R + G + B ~ 36%. #664868 is quite dark color.
R + G + B =
102 + 72 + 104 = 278 (100%)
R 102 of 278 ~ 36.69%
G 72 of 278 ~ 25.9%
B 104 of 278 ~ 37.41%
#664868 color CMYK value is (2,31,0,59).
CMYK: (2,31,0,59) C2M31Y0K59 (2%,31%,0%,59%) (0.02/0.31/0.00/0.59)
66 | 48 | 68 | |
---|---|---|---|
RGB | 102 | 72 | 104 |
HSL | 296° | 18.18% | 34.51% |
HSB/HSV | 296° | 30.77% | 40.78% |
CMYK | 1.92% | 30.77% | 0.00% |
59.22% |
HEX | 66 | 48 | 68 |
Decimal | 102 | 72 | 104 |
Binary | 1100110 | 1001000 | 1101000 |
Octal | 146 | 110 | 150 |
Examples of css and html codes for elements with #664868 color. Also use rgb(102,72,104) instead hex code.
.myTextColor { color: #664868; }
<p style="color:#664868">This sample text font color is #664868.</p>
This text font color is #664868.
.myBgColor { background-color: #664868; }
<div style="background-color:#664868">Inner text</div>
This div background color is #664868.
.myBorderColor { border: 1px solid #664868; }
<div style="border:3px solid #664868">Div</div>
This div border color is #664868.
.myOpacity80 { color: #664868; opacity: 0.8; }
<p style="color:#664868;opacity:0.8;">80%</p>
Text with #664868 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #664868;}
<p style="text-shadow: 3px 3px 1px #664868">Text here.</p>
This text has shadow with #664868 color.
.textShadow {text-shadow: 3px 3px 1px #664868, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #664868, 5px 5px 20px red">Text here.</p>
This text has shadow with #664868 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#664868, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#664868, Direction=45, Strength=4)">Text</p>
This text has shadow with #664868 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #664868; -webkit-box-shadow: 1px 1px 3px 2px #664868; box-shadow: 1px 1px 3px 2px #664868; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #664868; -webkit-box-shadow: 1px 1px 3px 2px #664868; box-shadow:1px 1px 3px 2px #664868;">
Div content here</div>
This text has color #664868 on black background.
This text has color #664868 on white background.
This text has black color on #664868 background.
This text has white color on #664868 background.