HEX: #4A797B
RGB: (74,121,123)
#4A797B contains red, green and blue colors in about the same proportion. Web safe color of #4A797B is #336666 (or #366).
#4A797B color RGB value is (74,121,123).
RGB: (74,121,123) (29%,47%,48%)
R 74 of 255 = 29%
G 121 of 255 = 47%
B 123 of 255 = 48%
R + G + B ~ 41%. #4A797B is middle color (not dark and not light).
R + G + B =
74 + 121 + 123 = 318 (100%)
R 74 of 318 ~ 23.27%
G 121 of 318 ~ 38.05%
B 123 of 318 ~ 38.68%
#4A797B color CMYK value is (40,2,0,52).
CMYK: (40,2,0,52) C40M2Y0K52 (40%,2%,0%,52%) (0.40/0.02/0.00/0.52)
4A | 79 | 7B | |
---|---|---|---|
RGB | 74 | 121 | 123 |
HSL | 182° | 24.87% | 38.63% |
HSB/HSV | 182° | 39.84% | 48.24% |
CMYK | 39.84% | 1.63% | 0.00% |
51.76% |
HEX | 4A | 79 | 7B |
Decimal | 74 | 121 | 123 |
Binary | 1001010 | 1111001 | 1111011 |
Octal | 112 | 171 | 173 |
Examples of css and html codes for elements with #4A797B color. Also use rgb(74,121,123) instead hex code.
.myTextColor { color: #4A797B; }
<p style="color:#4A797B">This sample text font color is #4A797B.</p>
This text font color is #4A797B.
.myBgColor { background-color: #4A797B; }
<div style="background-color:#4A797B">Inner text</div>
This div background color is #4A797B.
.myBorderColor { border: 1px solid #4A797B; }
<div style="border:3px solid #4A797B">Div</div>
This div border color is #4A797B.
.myOpacity80 { color: #4A797B; opacity: 0.8; }
<p style="color:#4A797B;opacity:0.8;">80%</p>
Text with #4A797B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A797B;}
<p style="text-shadow: 3px 3px 1px #4A797B">Text here.</p>
This text has shadow with #4A797B color.
.textShadow {text-shadow: 3px 3px 1px #4A797B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A797B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A797B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A797B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A797B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A797B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A797B; -webkit-box-shadow: 1px 1px 3px 2px #4A797B; box-shadow: 1px 1px 3px 2px #4A797B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A797B; -webkit-box-shadow: 1px 1px 3px 2px #4A797B; box-shadow:1px 1px 3px 2px #4A797B;">
Div content here</div>
This text has color #4A797B on black background.
This text has color #4A797B on white background.
This text has black color on #4A797B background.
This text has white color on #4A797B background.