HEX: #470FA1
RGB: (71,15,161)
#470FA1 contains mainly blue color. Web safe color of #470FA1 is #330099 (or #309).
#470FA1 color RGB value is (71,15,161).
RGB: (71,15,161) (28%,6%,63%)
R 71 of 255 = 28%
G 15 of 255 = 6%
B 161 of 255 = 63%
R + G + B ~ 32%. #470FA1 is quite dark color.
R + G + B =
71 + 15 + 161 = 247 (100%)
R 71 of 247 ~ 28.74%
G 15 of 247 ~ 6.07%
B 161 of 247 ~ 65.18%
#470FA1 color CMYK value is (56,91,0,37).
CMYK: (56,91,0,37) C56M91Y0K37 (56%,91%,0%,37%) (0.56/0.91/0.00/0.37)
47 | 0F | A1 | |
---|---|---|---|
RGB | 71 | 15 | 161 |
HSL | 263° | 82.95% | 34.51% |
HSB/HSV | 263° | 90.68% | 63.14% |
CMYK | 55.90% | 90.68% | 0.00% |
36.86% |
HEX | 47 | 0F | A1 |
Decimal | 71 | 15 | 161 |
Binary | 1000111 | 1111 | 10100001 |
Octal | 107 | 17 | 241 |
Examples of css and html codes for elements with #470FA1 color. Also use rgb(71,15,161) instead hex code.
.myTextColor { color: #470FA1; }
<p style="color:#470FA1">This sample text font color is #470FA1.</p>
This text font color is #470FA1.
.myBgColor { background-color: #470FA1; }
<div style="background-color:#470FA1">Inner text</div>
This div background color is #470FA1.
.myBorderColor { border: 1px solid #470FA1; }
<div style="border:3px solid #470FA1">Div</div>
This div border color is #470FA1.
.myOpacity80 { color: #470FA1; opacity: 0.8; }
<p style="color:#470FA1;opacity:0.8;">80%</p>
Text with #470FA1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #470FA1;}
<p style="text-shadow: 3px 3px 1px #470FA1">Text here.</p>
This text has shadow with #470FA1 color.
.textShadow {text-shadow: 3px 3px 1px #470FA1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #470FA1, 5px 5px 20px red">Text here.</p>
This text has shadow with #470FA1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#470FA1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#470FA1, Direction=45, Strength=4)">Text</p>
This text has shadow with #470FA1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #470FA1; -webkit-box-shadow: 1px 1px 3px 2px #470FA1; box-shadow: 1px 1px 3px 2px #470FA1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #470FA1; -webkit-box-shadow: 1px 1px 3px 2px #470FA1; box-shadow:1px 1px 3px 2px #470FA1;">
Div content here</div>
This text has color #470FA1 on black background.
This text has color #470FA1 on white background.
This text has black color on #470FA1 background.
This text has white color on #470FA1 background.