HEX: #72797C
RGB: (114,121,124)
#72797C contains red, green and blue colors in about the same proportion. Web safe color of #72797C is #666666 (or #666).
#72797C color RGB value is (114,121,124).
RGB: (114,121,124) (45%,47%,49%)
R 114 of 255 = 45%
G 121 of 255 = 47%
B 124 of 255 = 49%
R + G + B ~ 47%. #72797C is middle color (not dark and not light).
R + G + B =
114 + 121 + 124 = 359 (100%)
R 114 of 359 ~ 31.75%
G 121 of 359 ~ 33.7%
B 124 of 359 ~ 34.54%
#72797C color CMYK value is (8,2,0,51).
CMYK: (8,2,0,51) C8M2Y0K51 (8%,2%,0%,51%) (0.08/0.02/0.00/0.51)
72 | 79 | 7C | |
---|---|---|---|
RGB | 114 | 121 | 124 |
HSL | 198° | 4.20% | 46.67% |
HSB/HSV | 198° | 8.06% | 48.63% |
CMYK | 8.06% | 2.42% | 0.00% |
51.37% |
HEX | 72 | 79 | 7C |
Decimal | 114 | 121 | 124 |
Binary | 1110010 | 1111001 | 1111100 |
Octal | 162 | 171 | 174 |
Examples of css and html codes for elements with #72797C color. Also use rgb(114,121,124) instead hex code.
.myTextColor { color: #72797C; }
<p style="color:#72797C">This sample text font color is #72797C.</p>
This text font color is #72797C.
.myBgColor { background-color: #72797C; }
<div style="background-color:#72797C">Inner text</div>
This div background color is #72797C.
.myBorderColor { border: 1px solid #72797C; }
<div style="border:3px solid #72797C">Div</div>
This div border color is #72797C.
.myOpacity80 { color: #72797C; opacity: 0.8; }
<p style="color:#72797C;opacity:0.8;">80%</p>
Text with #72797C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #72797C;}
<p style="text-shadow: 3px 3px 1px #72797C">Text here.</p>
This text has shadow with #72797C color.
.textShadow {text-shadow: 3px 3px 1px #72797C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #72797C, 5px 5px 20px red">Text here.</p>
This text has shadow with #72797C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#72797C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#72797C, Direction=45, Strength=4)">Text</p>
This text has shadow with #72797C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #72797C; -webkit-box-shadow: 1px 1px 3px 2px #72797C; box-shadow: 1px 1px 3px 2px #72797C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #72797C; -webkit-box-shadow: 1px 1px 3px 2px #72797C; box-shadow:1px 1px 3px 2px #72797C;">
Div content here</div>
This text has color #72797C on black background.
This text has color #72797C on white background.
This text has black color on #72797C background.
This text has white color on #72797C background.