HEX: #704DB7
RGB: (112,77,183)
#704DB7 contains mainly blue color. Web safe color of #704DB7 is #6633CC (or #63C).
#704DB7 color RGB value is (112,77,183).
RGB: (112,77,183) (44%,30%,72%)
R 112 of 255 = 44%
G 77 of 255 = 30%
B 183 of 255 = 72%
R + G + B ~ 49%. #704DB7 is middle color (not dark and not light).
R + G + B =
112 + 77 + 183 = 372 (100%)
R 112 of 372 ~ 30.11%
G 77 of 372 ~ 20.7%
B 183 of 372 ~ 49.19%
#704DB7 color CMYK value is (39,58,0,28).
CMYK: (39,58,0,28) C39M58Y0K28 (39%,58%,0%,28%) (0.39/0.58/0.00/0.28)
70 | 4D | B7 | |
---|---|---|---|
RGB | 112 | 77 | 183 |
HSL | 260° | 42.40% | 50.98% |
HSB/HSV | 260° | 57.92% | 71.76% |
CMYK | 38.80% | 57.92% | 0.00% |
28.24% |
HEX | 70 | 4D | B7 |
Decimal | 112 | 77 | 183 |
Binary | 1110000 | 1001101 | 10110111 |
Octal | 160 | 115 | 267 |
Examples of css and html codes for elements with #704DB7 color. Also use rgb(112,77,183) instead hex code.
.myTextColor { color: #704DB7; }
<p style="color:#704DB7">This sample text font color is #704DB7.</p>
This text font color is #704DB7.
.myBgColor { background-color: #704DB7; }
<div style="background-color:#704DB7">Inner text</div>
This div background color is #704DB7.
.myBorderColor { border: 1px solid #704DB7; }
<div style="border:3px solid #704DB7">Div</div>
This div border color is #704DB7.
.myOpacity80 { color: #704DB7; opacity: 0.8; }
<p style="color:#704DB7;opacity:0.8;">80%</p>
Text with #704DB7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #704DB7;}
<p style="text-shadow: 3px 3px 1px #704DB7">Text here.</p>
This text has shadow with #704DB7 color.
.textShadow {text-shadow: 3px 3px 1px #704DB7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #704DB7, 5px 5px 20px red">Text here.</p>
This text has shadow with #704DB7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#704DB7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#704DB7, Direction=45, Strength=4)">Text</p>
This text has shadow with #704DB7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #704DB7; -webkit-box-shadow: 1px 1px 3px 2px #704DB7; box-shadow: 1px 1px 3px 2px #704DB7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #704DB7; -webkit-box-shadow: 1px 1px 3px 2px #704DB7; box-shadow:1px 1px 3px 2px #704DB7;">
Div content here</div>
This text has color #704DB7 on black background.
This text has color #704DB7 on white background.
This text has black color on #704DB7 background.
This text has white color on #704DB7 background.