HEX: #745766
RGB: (116,87,102)
#745766 contains red, green and blue colors in about the same proportion. Web safe color of #745766 is #666666 (or #666).
#745766 color RGB value is (116,87,102).
RGB: (116,87,102) (45%,34%,40%)
R 116 of 255 = 45%
G 87 of 255 = 34%
B 102 of 255 = 40%
R + G + B ~ 40%. #745766 is middle color (not dark and not light).
R + G + B =
116 + 87 + 102 = 305 (100%)
R 116 of 305 ~ 38.03%
G 87 of 305 ~ 28.52%
B 102 of 305 ~ 33.44%
#745766 color CMYK value is (0,25,12,55).
CMYK: (0,25,12,55) C0M25Y12K55 (0%,25%,12%,55%) (0.00/0.25/0.12/0.55)
74 | 57 | 66 | |
---|---|---|---|
RGB | 116 | 87 | 102 |
HSL | 329° | 14.29% | 39.80% |
HSB/HSV | 329° | 25.00% | 45.49% |
CMYK | 0.00% | 25.00% | 12.07% |
54.51% |
HEX | 74 | 57 | 66 |
Decimal | 116 | 87 | 102 |
Binary | 1110100 | 1010111 | 1100110 |
Octal | 164 | 127 | 146 |
Examples of css and html codes for elements with #745766 color. Also use rgb(116,87,102) instead hex code.
.myTextColor { color: #745766; }
<p style="color:#745766">This sample text font color is #745766.</p>
This text font color is #745766.
.myBgColor { background-color: #745766; }
<div style="background-color:#745766">Inner text</div>
This div background color is #745766.
.myBorderColor { border: 1px solid #745766; }
<div style="border:3px solid #745766">Div</div>
This div border color is #745766.
.myOpacity80 { color: #745766; opacity: 0.8; }
<p style="color:#745766;opacity:0.8;">80%</p>
Text with #745766 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #745766;}
<p style="text-shadow: 3px 3px 1px #745766">Text here.</p>
This text has shadow with #745766 color.
.textShadow {text-shadow: 3px 3px 1px #745766, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #745766, 5px 5px 20px red">Text here.</p>
This text has shadow with #745766 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#745766, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#745766, Direction=45, Strength=4)">Text</p>
This text has shadow with #745766 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #745766; -webkit-box-shadow: 1px 1px 3px 2px #745766; box-shadow: 1px 1px 3px 2px #745766; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #745766; -webkit-box-shadow: 1px 1px 3px 2px #745766; box-shadow:1px 1px 3px 2px #745766;">
Div content here</div>
This text has color #745766 on black background.
This text has color #745766 on white background.
This text has black color on #745766 background.
This text has white color on #745766 background.