HEX: #664CBD
RGB: (102,76,189)
#664CBD contains mainly blue color. Web safe color of #664CBD is #6633CC (or #63C).
#664CBD color RGB value is (102,76,189).
RGB: (102,76,189) (40%,30%,74%)
R 102 of 255 = 40%
G 76 of 255 = 30%
B 189 of 255 = 74%
R + G + B ~ 48%. #664CBD is middle color (not dark and not light).
R + G + B =
102 + 76 + 189 = 367 (100%)
R 102 of 367 ~ 27.79%
G 76 of 367 ~ 20.71%
B 189 of 367 ~ 51.5%
#664CBD color CMYK value is (46,60,0,26).
CMYK: (46,60,0,26) C46M60Y0K26 (46%,60%,0%,26%) (0.46/0.60/0.00/0.26)
66 | 4C | BD | |
---|---|---|---|
RGB | 102 | 76 | 189 |
HSL | 254° | 46.12% | 51.96% |
HSB/HSV | 254° | 59.79% | 74.12% |
CMYK | 46.03% | 59.79% | 0.00% |
25.88% |
HEX | 66 | 4C | BD |
Decimal | 102 | 76 | 189 |
Binary | 1100110 | 1001100 | 10111101 |
Octal | 146 | 114 | 275 |
Examples of css and html codes for elements with #664CBD color. Also use rgb(102,76,189) instead hex code.
.myTextColor { color: #664CBD; }
<p style="color:#664CBD">This sample text font color is #664CBD.</p>
This text font color is #664CBD.
.myBgColor { background-color: #664CBD; }
<div style="background-color:#664CBD">Inner text</div>
This div background color is #664CBD.
.myBorderColor { border: 1px solid #664CBD; }
<div style="border:3px solid #664CBD">Div</div>
This div border color is #664CBD.
.myOpacity80 { color: #664CBD; opacity: 0.8; }
<p style="color:#664CBD;opacity:0.8;">80%</p>
Text with #664CBD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #664CBD;}
<p style="text-shadow: 3px 3px 1px #664CBD">Text here.</p>
This text has shadow with #664CBD color.
.textShadow {text-shadow: 3px 3px 1px #664CBD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #664CBD, 5px 5px 20px red">Text here.</p>
This text has shadow with #664CBD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#664CBD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#664CBD, Direction=45, Strength=4)">Text</p>
This text has shadow with #664CBD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #664CBD; -webkit-box-shadow: 1px 1px 3px 2px #664CBD; box-shadow: 1px 1px 3px 2px #664CBD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #664CBD; -webkit-box-shadow: 1px 1px 3px 2px #664CBD; box-shadow:1px 1px 3px 2px #664CBD;">
Div content here</div>
This text has color #664CBD on black background.
This text has color #664CBD on white background.
This text has black color on #664CBD background.
This text has white color on #664CBD background.