HEX: #497872
RGB: (73,120,114)
#497872 contains red, green and blue colors in about the same proportion. Web safe color of #497872 is #336666 (or #366).
#497872 color RGB value is (73,120,114).
RGB: (73,120,114) (29%,47%,45%)
R 73 of 255 = 29%
G 120 of 255 = 47%
B 114 of 255 = 45%
R + G + B ~ 40%. #497872 is middle color (not dark and not light).
R + G + B =
73 + 120 + 114 = 307 (100%)
R 73 of 307 ~ 23.78%
G 120 of 307 ~ 39.09%
B 114 of 307 ~ 37.13%
#497872 color CMYK value is (39,0,5,53).
CMYK: (39,0,5,53) C39M0Y5K53 (39%,0%,5%,53%) (0.39/0.00/0.05/0.53)
49 | 78 | 72 | |
---|---|---|---|
RGB | 73 | 120 | 114 |
HSL | 172° | 24.35% | 37.84% |
HSB/HSV | 172° | 39.17% | 47.06% |
CMYK | 39.17% | 0.00% | 5.00% |
52.94% |
HEX | 49 | 78 | 72 |
Decimal | 73 | 120 | 114 |
Binary | 1001001 | 1111000 | 1110010 |
Octal | 111 | 170 | 162 |
Examples of css and html codes for elements with #497872 color. Also use rgb(73,120,114) instead hex code.
.myTextColor { color: #497872; }
<p style="color:#497872">This sample text font color is #497872.</p>
This text font color is #497872.
.myBgColor { background-color: #497872; }
<div style="background-color:#497872">Inner text</div>
This div background color is #497872.
.myBorderColor { border: 1px solid #497872; }
<div style="border:3px solid #497872">Div</div>
This div border color is #497872.
.myOpacity80 { color: #497872; opacity: 0.8; }
<p style="color:#497872;opacity:0.8;">80%</p>
Text with #497872 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #497872;}
<p style="text-shadow: 3px 3px 1px #497872">Text here.</p>
This text has shadow with #497872 color.
.textShadow {text-shadow: 3px 3px 1px #497872, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #497872, 5px 5px 20px red">Text here.</p>
This text has shadow with #497872 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#497872, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#497872, Direction=45, Strength=4)">Text</p>
This text has shadow with #497872 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #497872; -webkit-box-shadow: 1px 1px 3px 2px #497872; box-shadow: 1px 1px 3px 2px #497872; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #497872; -webkit-box-shadow: 1px 1px 3px 2px #497872; box-shadow:1px 1px 3px 2px #497872;">
Div content here</div>
This text has color #497872 on black background.
This text has color #497872 on white background.
This text has black color on #497872 background.
This text has white color on #497872 background.