HEX: #4F787A
RGB: (79,120,122)
#4F787A contains red, green and blue colors in about the same proportion. Web safe color of #4F787A is #666666 (or #666).
#4F787A color RGB value is (79,120,122).
RGB: (79,120,122) (31%,47%,48%)
R 79 of 255 = 31%
G 120 of 255 = 47%
B 122 of 255 = 48%
R + G + B ~ 42%. #4F787A is middle color (not dark and not light).
R + G + B =
79 + 120 + 122 = 321 (100%)
R 79 of 321 ~ 24.61%
G 120 of 321 ~ 37.38%
B 122 of 321 ~ 38.01%
#4F787A color CMYK value is (35,2,0,52).
CMYK: (35,2,0,52) C35M2Y0K52 (35%,2%,0%,52%) (0.35/0.02/0.00/0.52)
4F | 78 | 7A | |
---|---|---|---|
RGB | 79 | 120 | 122 |
HSL | 183° | 21.39% | 39.41% |
HSB/HSV | 183° | 35.25% | 47.84% |
CMYK | 35.25% | 1.64% | 0.00% |
52.16% |
HEX | 4F | 78 | 7A |
Decimal | 79 | 120 | 122 |
Binary | 1001111 | 1111000 | 1111010 |
Octal | 117 | 170 | 172 |
Examples of css and html codes for elements with #4F787A color. Also use rgb(79,120,122) instead hex code.
.myTextColor { color: #4F787A; }
<p style="color:#4F787A">This sample text font color is #4F787A.</p>
This text font color is #4F787A.
.myBgColor { background-color: #4F787A; }
<div style="background-color:#4F787A">Inner text</div>
This div background color is #4F787A.
.myBorderColor { border: 1px solid #4F787A; }
<div style="border:3px solid #4F787A">Div</div>
This div border color is #4F787A.
.myOpacity80 { color: #4F787A; opacity: 0.8; }
<p style="color:#4F787A;opacity:0.8;">80%</p>
Text with #4F787A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F787A;}
<p style="text-shadow: 3px 3px 1px #4F787A">Text here.</p>
This text has shadow with #4F787A color.
.textShadow {text-shadow: 3px 3px 1px #4F787A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F787A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F787A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F787A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F787A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F787A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F787A; -webkit-box-shadow: 1px 1px 3px 2px #4F787A; box-shadow: 1px 1px 3px 2px #4F787A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F787A; -webkit-box-shadow: 1px 1px 3px 2px #4F787A; box-shadow:1px 1px 3px 2px #4F787A;">
Div content here</div>
This text has color #4F787A on black background.
This text has color #4F787A on white background.
This text has black color on #4F787A background.
This text has white color on #4F787A background.