HEX: #708270
RGB: (112,130,112)
#708270 contains red, green and blue colors in about the same proportion. Web safe color of #708270 is #669966 (or #696).
#708270 color RGB value is (112,130,112).
RGB: (112,130,112) (44%,51%,44%)
R 112 of 255 = 44%
G 130 of 255 = 51%
B 112 of 255 = 44%
R + G + B ~ 46%. #708270 is middle color (not dark and not light).
R + G + B =
112 + 130 + 112 = 354 (100%)
R 112 of 354 ~ 31.64%
G 130 of 354 ~ 36.72%
B 112 of 354 ~ 31.64%
#708270 color CMYK value is (14,0,14,49).
CMYK: (14,0,14,49) C14M0Y14K49 (14%,0%,14%,49%) (0.14/0.00/0.14/0.49)
70 | 82 | 70 | |
---|---|---|---|
RGB | 112 | 130 | 112 |
HSL | 120° | 7.44% | 47.45% |
HSB/HSV | 120° | 13.85% | 50.98% |
CMYK | 13.85% | 0.00% | 13.85% |
49.02% |
HEX | 70 | 82 | 70 |
Decimal | 112 | 130 | 112 |
Binary | 1110000 | 10000010 | 1110000 |
Octal | 160 | 202 | 160 |
Examples of css and html codes for elements with #708270 color. Also use rgb(112,130,112) instead hex code.
.myTextColor { color: #708270; }
<p style="color:#708270">This sample text font color is #708270.</p>
This text font color is #708270.
.myBgColor { background-color: #708270; }
<div style="background-color:#708270">Inner text</div>
This div background color is #708270.
.myBorderColor { border: 1px solid #708270; }
<div style="border:3px solid #708270">Div</div>
This div border color is #708270.
.myOpacity80 { color: #708270; opacity: 0.8; }
<p style="color:#708270;opacity:0.8;">80%</p>
Text with #708270 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #708270;}
<p style="text-shadow: 3px 3px 1px #708270">Text here.</p>
This text has shadow with #708270 color.
.textShadow {text-shadow: 3px 3px 1px #708270, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #708270, 5px 5px 20px red">Text here.</p>
This text has shadow with #708270 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#708270, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#708270, Direction=45, Strength=4)">Text</p>
This text has shadow with #708270 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #708270; -webkit-box-shadow: 1px 1px 3px 2px #708270; box-shadow: 1px 1px 3px 2px #708270; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #708270; -webkit-box-shadow: 1px 1px 3px 2px #708270; box-shadow:1px 1px 3px 2px #708270;">
Div content here</div>
This text has color #708270 on black background.
This text has color #708270 on white background.
This text has black color on #708270 background.
This text has white color on #708270 background.