HEX: #706FAF
RGB: (112,111,175)
#706FAF contains mainly blue color. Web safe color of #706FAF is #666699 (or #669).
#706FAF color RGB value is (112,111,175).
RGB: (112,111,175) (44%,44%,69%)
R 112 of 255 = 44%
G 111 of 255 = 44%
B 175 of 255 = 69%
R + G + B ~ 52%. #706FAF is middle color (not dark and not light).
R + G + B =
112 + 111 + 175 = 398 (100%)
R 112 of 398 ~ 28.14%
G 111 of 398 ~ 27.89%
B 175 of 398 ~ 43.97%
#706FAF color CMYK value is (36,37,0,31).
CMYK: (36,37,0,31) C36M37Y0K31 (36%,37%,0%,31%) (0.36/0.37/0.00/0.31)
70 | 6F | AF | |
---|---|---|---|
RGB | 112 | 111 | 175 |
HSL | 241° | 28.57% | 56.08% |
HSB/HSV | 241° | 36.57% | 68.63% |
CMYK | 36.00% | 36.57% | 0.00% |
31.37% |
HEX | 70 | 6F | AF |
Decimal | 112 | 111 | 175 |
Binary | 1110000 | 1101111 | 10101111 |
Octal | 160 | 157 | 257 |
Examples of css and html codes for elements with #706FAF color. Also use rgb(112,111,175) instead hex code.
.myTextColor { color: #706FAF; }
<p style="color:#706FAF">This sample text font color is #706FAF.</p>
This text font color is #706FAF.
.myBgColor { background-color: #706FAF; }
<div style="background-color:#706FAF">Inner text</div>
This div background color is #706FAF.
.myBorderColor { border: 1px solid #706FAF; }
<div style="border:3px solid #706FAF">Div</div>
This div border color is #706FAF.
.myOpacity80 { color: #706FAF; opacity: 0.8; }
<p style="color:#706FAF;opacity:0.8;">80%</p>
Text with #706FAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #706FAF;}
<p style="text-shadow: 3px 3px 1px #706FAF">Text here.</p>
This text has shadow with #706FAF color.
.textShadow {text-shadow: 3px 3px 1px #706FAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #706FAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #706FAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#706FAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#706FAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #706FAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #706FAF; -webkit-box-shadow: 1px 1px 3px 2px #706FAF; box-shadow: 1px 1px 3px 2px #706FAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #706FAF; -webkit-box-shadow: 1px 1px 3px 2px #706FAF; box-shadow:1px 1px 3px 2px #706FAF;">
Div content here</div>
This text has color #706FAF on black background.
This text has color #706FAF on white background.
This text has black color on #706FAF background.
This text has white color on #706FAF background.