HEX: #72787F
RGB: (114,120,127)
#72787F contains red, green and blue colors in about the same proportion. Web safe color of #72787F is #666666 (or #666).
#72787F color RGB value is (114,120,127).
RGB: (114,120,127) (45%,47%,50%)
R 114 of 255 = 45%
G 120 of 255 = 47%
B 127 of 255 = 50%
R + G + B ~ 47%. #72787F is middle color (not dark and not light).
R + G + B =
114 + 120 + 127 = 361 (100%)
R 114 of 361 ~ 31.58%
G 120 of 361 ~ 33.24%
B 127 of 361 ~ 35.18%
#72787F color CMYK value is (10,6,0,50).
CMYK: (10,6,0,50) C10M6Y0K50 (10%,6%,0%,50%) (0.10/0.06/0.00/0.50)
72 | 78 | 7F | |
---|---|---|---|
RGB | 114 | 120 | 127 |
HSL | 212° | 5.39% | 47.25% |
HSB/HSV | 212° | 10.24% | 49.80% |
CMYK | 10.24% | 5.51% | 0.00% |
50.20% |
HEX | 72 | 78 | 7F |
Decimal | 114 | 120 | 127 |
Binary | 1110010 | 1111000 | 1111111 |
Octal | 162 | 170 | 177 |
Examples of css and html codes for elements with #72787F color. Also use rgb(114,120,127) instead hex code.
.myTextColor { color: #72787F; }
<p style="color:#72787F">This sample text font color is #72787F.</p>
This text font color is #72787F.
.myBgColor { background-color: #72787F; }
<div style="background-color:#72787F">Inner text</div>
This div background color is #72787F.
.myBorderColor { border: 1px solid #72787F; }
<div style="border:3px solid #72787F">Div</div>
This div border color is #72787F.
.myOpacity80 { color: #72787F; opacity: 0.8; }
<p style="color:#72787F;opacity:0.8;">80%</p>
Text with #72787F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #72787F;}
<p style="text-shadow: 3px 3px 1px #72787F">Text here.</p>
This text has shadow with #72787F color.
.textShadow {text-shadow: 3px 3px 1px #72787F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #72787F, 5px 5px 20px red">Text here.</p>
This text has shadow with #72787F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#72787F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#72787F, Direction=45, Strength=4)">Text</p>
This text has shadow with #72787F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #72787F; -webkit-box-shadow: 1px 1px 3px 2px #72787F; box-shadow: 1px 1px 3px 2px #72787F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #72787F; -webkit-box-shadow: 1px 1px 3px 2px #72787F; box-shadow:1px 1px 3px 2px #72787F;">
Div content here</div>
This text has color #72787F on black background.
This text has color #72787F on white background.
This text has black color on #72787F background.
This text has white color on #72787F background.