HEX: #497D9D
RGB: (73,125,157)
#497D9D contains mainly green and blue colors. Web safe color of #497D9D is #336699 (or #369).
#497D9D color RGB value is (73,125,157).
RGB: (73,125,157) (29%,49%,62%)
R 73 of 255 = 29%
G 125 of 255 = 49%
B 157 of 255 = 62%
R + G + B ~ 47%. #497D9D is middle color (not dark and not light).
R + G + B =
73 + 125 + 157 = 355 (100%)
R 73 of 355 ~ 20.56%
G 125 of 355 ~ 35.21%
B 157 of 355 ~ 44.23%
#497D9D color CMYK value is (54,20,0,38).
CMYK: (54,20,0,38) C54M20Y0K38 (54%,20%,0%,38%) (0.54/0.20/0.00/0.38)
49 | 7D | 9D | |
---|---|---|---|
RGB | 73 | 125 | 157 |
HSL | 203° | 36.52% | 45.10% |
HSB/HSV | 203° | 53.50% | 61.57% |
CMYK | 53.50% | 20.38% | 0.00% |
38.43% |
HEX | 49 | 7D | 9D |
Decimal | 73 | 125 | 157 |
Binary | 1001001 | 1111101 | 10011101 |
Octal | 111 | 175 | 235 |
Examples of css and html codes for elements with #497D9D color. Also use rgb(73,125,157) instead hex code.
.myTextColor { color: #497D9D; }
<p style="color:#497D9D">This sample text font color is #497D9D.</p>
This text font color is #497D9D.
.myBgColor { background-color: #497D9D; }
<div style="background-color:#497D9D">Inner text</div>
This div background color is #497D9D.
.myBorderColor { border: 1px solid #497D9D; }
<div style="border:3px solid #497D9D">Div</div>
This div border color is #497D9D.
.myOpacity80 { color: #497D9D; opacity: 0.8; }
<p style="color:#497D9D;opacity:0.8;">80%</p>
Text with #497D9D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #497D9D;}
<p style="text-shadow: 3px 3px 1px #497D9D">Text here.</p>
This text has shadow with #497D9D color.
.textShadow {text-shadow: 3px 3px 1px #497D9D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #497D9D, 5px 5px 20px red">Text here.</p>
This text has shadow with #497D9D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#497D9D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#497D9D, Direction=45, Strength=4)">Text</p>
This text has shadow with #497D9D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #497D9D; -webkit-box-shadow: 1px 1px 3px 2px #497D9D; box-shadow: 1px 1px 3px 2px #497D9D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #497D9D; -webkit-box-shadow: 1px 1px 3px 2px #497D9D; box-shadow:1px 1px 3px 2px #497D9D;">
Div content here</div>
This text has color #497D9D on black background.
This text has color #497D9D on white background.
This text has black color on #497D9D background.
This text has white color on #497D9D background.