HEX: #665D7E
RGB: (102,93,126)
#665D7E contains red, green and blue colors in about the same proportion. Web safe color of #665D7E is #666666 (or #666).
#665D7E color RGB value is (102,93,126).
RGB: (102,93,126) (40%,36%,49%)
R 102 of 255 = 40%
G 93 of 255 = 36%
B 126 of 255 = 49%
R + G + B ~ 42%. #665D7E is middle color (not dark and not light).
R + G + B =
102 + 93 + 126 = 321 (100%)
R 102 of 321 ~ 31.78%
G 93 of 321 ~ 28.97%
B 126 of 321 ~ 39.25%
#665D7E color CMYK value is (19,26,0,51).
CMYK: (19,26,0,51) C19M26Y0K51 (19%,26%,0%,51%) (0.19/0.26/0.00/0.51)
66 | 5D | 7E | |
---|---|---|---|
RGB | 102 | 93 | 126 |
HSL | 256° | 15.07% | 42.94% |
HSB/HSV | 256° | 26.19% | 49.41% |
CMYK | 19.05% | 26.19% | 0.00% |
50.59% |
HEX | 66 | 5D | 7E |
Decimal | 102 | 93 | 126 |
Binary | 1100110 | 1011101 | 1111110 |
Octal | 146 | 135 | 176 |
Examples of css and html codes for elements with #665D7E color. Also use rgb(102,93,126) instead hex code.
.myTextColor { color: #665D7E; }
<p style="color:#665D7E">This sample text font color is #665D7E.</p>
This text font color is #665D7E.
.myBgColor { background-color: #665D7E; }
<div style="background-color:#665D7E">Inner text</div>
This div background color is #665D7E.
.myBorderColor { border: 1px solid #665D7E; }
<div style="border:3px solid #665D7E">Div</div>
This div border color is #665D7E.
.myOpacity80 { color: #665D7E; opacity: 0.8; }
<p style="color:#665D7E;opacity:0.8;">80%</p>
Text with #665D7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #665D7E;}
<p style="text-shadow: 3px 3px 1px #665D7E">Text here.</p>
This text has shadow with #665D7E color.
.textShadow {text-shadow: 3px 3px 1px #665D7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #665D7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #665D7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#665D7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#665D7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #665D7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #665D7E; -webkit-box-shadow: 1px 1px 3px 2px #665D7E; box-shadow: 1px 1px 3px 2px #665D7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #665D7E; -webkit-box-shadow: 1px 1px 3px 2px #665D7E; box-shadow:1px 1px 3px 2px #665D7E;">
Div content here</div>
This text has color #665D7E on black background.
This text has color #665D7E on white background.
This text has black color on #665D7E background.
This text has white color on #665D7E background.