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