HEX: #004F70
RGB: (0,79,112)
#004F70 contains only green and blue colors. Web safe color of #004F70 is #006666 (or #066).
#004F70 color RGB value is (0,79,112).
RGB: (0,79,112) (0%,31%,44%)
R 0 of 255 = 0%
G 79 of 255 = 31%
B 112 of 255 = 44%
R + G + B ~ 25%. #004F70 is quite dark color.
R + G + B =
0 + 79 + 112 = 191 (100%)
R 0 of 191 ~ 0%
G 79 of 191 ~ 41.36%
B 112 of 191 ~ 58.64%
#004F70 color CMYK value is (100,29,0,56).
CMYK: (100,29,0,56) C100M29Y0K56 (100%,29%,0%,56%) (1.00/0.29/0.00/0.56)
00 | 4F | 70 | |
---|---|---|---|
RGB | 0 | 79 | 112 |
HSL | 198° | 100.00% | 21.96% |
HSB/HSV | 198° | 100.00% | 43.92% |
CMYK | 100.00% | 29.46% | 0.00% |
56.08% |
HEX | 00 | 4F | 70 |
Decimal | 0 | 79 | 112 |
Binary | 0 | 1001111 | 1110000 |
Octal | 0 | 117 | 160 |
Examples of css and html codes for elements with #004F70 color. Also use rgb(0,79,112) instead hex code.
.myTextColor { color: #004F70; }
<p style="color:#004F70">This sample text font color is #004F70.</p>
This text font color is #004F70.
.myBgColor { background-color: #004F70; }
<div style="background-color:#004F70">Inner text</div>
This div background color is #004F70.
.myBorderColor { border: 1px solid #004F70; }
<div style="border:3px solid #004F70">Div</div>
This div border color is #004F70.
.myOpacity80 { color: #004F70; opacity: 0.8; }
<p style="color:#004F70;opacity:0.8;">80%</p>
Text with #004F70 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #004F70;}
<p style="text-shadow: 3px 3px 1px #004F70">Text here.</p>
This text has shadow with #004F70 color.
.textShadow {text-shadow: 3px 3px 1px #004F70, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #004F70, 5px 5px 20px red">Text here.</p>
This text has shadow with #004F70 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#004F70, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#004F70, Direction=45, Strength=4)">Text</p>
This text has shadow with #004F70 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #004F70; -webkit-box-shadow: 1px 1px 3px 2px #004F70; box-shadow: 1px 1px 3px 2px #004F70; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #004F70; -webkit-box-shadow: 1px 1px 3px 2px #004F70; box-shadow:1px 1px 3px 2px #004F70;">
Div content here</div>
This text has color #004F70 on black background.
This text has color #004F70 on white background.
This text has black color on #004F70 background.
This text has white color on #004F70 background.