HEX: #704879
RGB: (112,72,121)
#704879 contains red, green and blue colors in about the same proportion. Web safe color of #704879 is #663366 (or #636).
#704879 color RGB value is (112,72,121).
RGB: (112,72,121) (44%,28%,47%)
R 112 of 255 = 44%
G 72 of 255 = 28%
B 121 of 255 = 47%
R + G + B ~ 40%. #704879 is middle color (not dark and not light).
R + G + B =
112 + 72 + 121 = 305 (100%)
R 112 of 305 ~ 36.72%
G 72 of 305 ~ 23.61%
B 121 of 305 ~ 39.67%
#704879 color CMYK value is (7,40,0,53).
CMYK: (7,40,0,53) C7M40Y0K53 (7%,40%,0%,53%) (0.07/0.40/0.00/0.53)
70 | 48 | 79 | |
---|---|---|---|
RGB | 112 | 72 | 121 |
HSL | 289° | 25.39% | 37.84% |
HSB/HSV | 289° | 40.50% | 47.45% |
CMYK | 7.44% | 40.50% | 0.00% |
52.55% |
HEX | 70 | 48 | 79 |
Decimal | 112 | 72 | 121 |
Binary | 1110000 | 1001000 | 1111001 |
Octal | 160 | 110 | 171 |
Examples of css and html codes for elements with #704879 color. Also use rgb(112,72,121) instead hex code.
.myTextColor { color: #704879; }
<p style="color:#704879">This sample text font color is #704879.</p>
This text font color is #704879.
.myBgColor { background-color: #704879; }
<div style="background-color:#704879">Inner text</div>
This div background color is #704879.
.myBorderColor { border: 1px solid #704879; }
<div style="border:3px solid #704879">Div</div>
This div border color is #704879.
.myOpacity80 { color: #704879; opacity: 0.8; }
<p style="color:#704879;opacity:0.8;">80%</p>
Text with #704879 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #704879;}
<p style="text-shadow: 3px 3px 1px #704879">Text here.</p>
This text has shadow with #704879 color.
.textShadow {text-shadow: 3px 3px 1px #704879, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #704879, 5px 5px 20px red">Text here.</p>
This text has shadow with #704879 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#704879, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#704879, Direction=45, Strength=4)">Text</p>
This text has shadow with #704879 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #704879; -webkit-box-shadow: 1px 1px 3px 2px #704879; box-shadow: 1px 1px 3px 2px #704879; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #704879; -webkit-box-shadow: 1px 1px 3px 2px #704879; box-shadow:1px 1px 3px 2px #704879;">
Div content here</div>
This text has color #704879 on black background.
This text has color #704879 on white background.
This text has black color on #704879 background.
This text has white color on #704879 background.