HEX: #704070
RGB: (112,64,112)
#704070 contains red, green and blue colors in about the same proportion. Web safe color of #704070 is #663366 (or #636).
#704070 color RGB value is (112,64,112).
RGB: (112,64,112) (44%,25%,44%)
R 112 of 255 = 44%
G 64 of 255 = 25%
B 112 of 255 = 44%
R + G + B ~ 38%. #704070 is quite dark color.
R + G + B =
112 + 64 + 112 = 288 (100%)
R 112 of 288 ~ 38.89%
G 64 of 288 ~ 22.22%
B 112 of 288 ~ 38.89%
#704070 color CMYK value is (0,43,0,56).
CMYK: (0,43,0,56) C0M43Y0K56 (0%,43%,0%,56%) (0.00/0.43/0.00/0.56)
70 | 40 | 70 | |
---|---|---|---|
RGB | 112 | 64 | 112 |
HSL | 300° | 27.27% | 34.51% |
HSB/HSV | 300° | 42.86% | 43.92% |
CMYK | 0.00% | 42.86% | 0.00% |
56.08% |
HEX | 70 | 40 | 70 |
Decimal | 112 | 64 | 112 |
Binary | 1110000 | 1000000 | 1110000 |
Octal | 160 | 100 | 160 |
Examples of css and html codes for elements with #704070 color. Also use rgb(112,64,112) instead hex code.
.myTextColor { color: #704070; }
<p style="color:#704070">This sample text font color is #704070.</p>
This text font color is #704070.
.myBgColor { background-color: #704070; }
<div style="background-color:#704070">Inner text</div>
This div background color is #704070.
.myBorderColor { border: 1px solid #704070; }
<div style="border:3px solid #704070">Div</div>
This div border color is #704070.
.myOpacity80 { color: #704070; opacity: 0.8; }
<p style="color:#704070;opacity:0.8;">80%</p>
Text with #704070 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #704070;}
<p style="text-shadow: 3px 3px 1px #704070">Text here.</p>
This text has shadow with #704070 color.
.textShadow {text-shadow: 3px 3px 1px #704070, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #704070, 5px 5px 20px red">Text here.</p>
This text has shadow with #704070 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#704070, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#704070, Direction=45, Strength=4)">Text</p>
This text has shadow with #704070 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #704070; -webkit-box-shadow: 1px 1px 3px 2px #704070; box-shadow: 1px 1px 3px 2px #704070; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #704070; -webkit-box-shadow: 1px 1px 3px 2px #704070; box-shadow:1px 1px 3px 2px #704070;">
Div content here</div>
This text has color #704070 on black background.
This text has color #704070 on white background.
This text has black color on #704070 background.
This text has white color on #704070 background.