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