HEX: #704772
RGB: (112,71,114)
#704772 contains red, green and blue colors in about the same proportion. Web safe color of #704772 is #663366 (or #636).
#704772 color RGB value is (112,71,114).
RGB: (112,71,114) (44%,28%,45%)
R 112 of 255 = 44%
G 71 of 255 = 28%
B 114 of 255 = 45%
R + G + B ~ 39%. #704772 is quite dark color.
R + G + B =
112 + 71 + 114 = 297 (100%)
R 112 of 297 ~ 37.71%
G 71 of 297 ~ 23.91%
B 114 of 297 ~ 38.38%
#704772 color CMYK value is (2,38,0,55).
CMYK: (2,38,0,55) C2M38Y0K55 (2%,38%,0%,55%) (0.02/0.38/0.00/0.55)
70 | 47 | 72 | |
---|---|---|---|
RGB | 112 | 71 | 114 |
HSL | 297° | 23.24% | 36.27% |
HSB/HSV | 297° | 37.72% | 44.71% |
CMYK | 1.75% | 37.72% | 0.00% |
55.29% |
HEX | 70 | 47 | 72 |
Decimal | 112 | 71 | 114 |
Binary | 1110000 | 1000111 | 1110010 |
Octal | 160 | 107 | 162 |
Examples of css and html codes for elements with #704772 color. Also use rgb(112,71,114) instead hex code.
.myTextColor { color: #704772; }
<p style="color:#704772">This sample text font color is #704772.</p>
This text font color is #704772.
.myBgColor { background-color: #704772; }
<div style="background-color:#704772">Inner text</div>
This div background color is #704772.
.myBorderColor { border: 1px solid #704772; }
<div style="border:3px solid #704772">Div</div>
This div border color is #704772.
.myOpacity80 { color: #704772; opacity: 0.8; }
<p style="color:#704772;opacity:0.8;">80%</p>
Text with #704772 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #704772;}
<p style="text-shadow: 3px 3px 1px #704772">Text here.</p>
This text has shadow with #704772 color.
.textShadow {text-shadow: 3px 3px 1px #704772, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #704772, 5px 5px 20px red">Text here.</p>
This text has shadow with #704772 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#704772, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#704772, Direction=45, Strength=4)">Text</p>
This text has shadow with #704772 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #704772; -webkit-box-shadow: 1px 1px 3px 2px #704772; box-shadow: 1px 1px 3px 2px #704772; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #704772; -webkit-box-shadow: 1px 1px 3px 2px #704772; box-shadow:1px 1px 3px 2px #704772;">
Div content here</div>
This text has color #704772 on black background.
This text has color #704772 on white background.
This text has black color on #704772 background.
This text has white color on #704772 background.