HEX: #470D6E
RGB: (71,13,110)
#470D6E contains mainly red and blue colors. Web safe color of #470D6E is #330066 (or #306).
#470D6E color RGB value is (71,13,110).
RGB: (71,13,110) (28%,5%,43%)
R 71 of 255 = 28%
G 13 of 255 = 5%
B 110 of 255 = 43%
R + G + B ~ 25%. #470D6E is quite dark color.
R + G + B =
71 + 13 + 110 = 194 (100%)
R 71 of 194 ~ 36.6%
G 13 of 194 ~ 6.7%
B 110 of 194 ~ 56.7%
#470D6E color CMYK value is (35,88,0,57).
CMYK: (35,88,0,57) C35M88Y0K57 (35%,88%,0%,57%) (0.35/0.88/0.00/0.57)
47 | 0D | 6E | |
---|---|---|---|
RGB | 71 | 13 | 110 |
HSL | 276° | 78.86% | 24.12% |
HSB/HSV | 276° | 88.18% | 43.14% |
CMYK | 35.45% | 88.18% | 0.00% |
56.86% |
HEX | 47 | 0D | 6E |
Decimal | 71 | 13 | 110 |
Binary | 1000111 | 1101 | 1101110 |
Octal | 107 | 15 | 156 |
Examples of css and html codes for elements with #470D6E color. Also use rgb(71,13,110) instead hex code.
.myTextColor { color: #470D6E; }
<p style="color:#470D6E">This sample text font color is #470D6E.</p>
This text font color is #470D6E.
.myBgColor { background-color: #470D6E; }
<div style="background-color:#470D6E">Inner text</div>
This div background color is #470D6E.
.myBorderColor { border: 1px solid #470D6E; }
<div style="border:3px solid #470D6E">Div</div>
This div border color is #470D6E.
.myOpacity80 { color: #470D6E; opacity: 0.8; }
<p style="color:#470D6E;opacity:0.8;">80%</p>
Text with #470D6E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #470D6E;}
<p style="text-shadow: 3px 3px 1px #470D6E">Text here.</p>
This text has shadow with #470D6E color.
.textShadow {text-shadow: 3px 3px 1px #470D6E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #470D6E, 5px 5px 20px red">Text here.</p>
This text has shadow with #470D6E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#470D6E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#470D6E, Direction=45, Strength=4)">Text</p>
This text has shadow with #470D6E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #470D6E; -webkit-box-shadow: 1px 1px 3px 2px #470D6E; box-shadow: 1px 1px 3px 2px #470D6E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #470D6E; -webkit-box-shadow: 1px 1px 3px 2px #470D6E; box-shadow:1px 1px 3px 2px #470D6E;">
Div content here</div>
This text has color #470D6E on black background.
This text has color #470D6E on white background.
This text has black color on #470D6E background.
This text has white color on #470D6E background.