HEX: #471A5E
RGB: (71,26,94)
#471A5E contains mainly red and blue colors. Web safe color of #471A5E is #330066 (or #306).
#471A5E color RGB value is (71,26,94).
RGB: (71,26,94) (28%,10%,37%)
R 71 of 255 = 28%
G 26 of 255 = 10%
B 94 of 255 = 37%
R + G + B ~ 25%. #471A5E is quite dark color.
R + G + B =
71 + 26 + 94 = 191 (100%)
R 71 of 191 ~ 37.17%
G 26 of 191 ~ 13.61%
B 94 of 191 ~ 49.21%
#471A5E color CMYK value is (24,72,0,63).
CMYK: (24,72,0,63) C24M72Y0K63 (24%,72%,0%,63%) (0.24/0.72/0.00/0.63)
47 | 1A | 5E | |
---|---|---|---|
RGB | 71 | 26 | 94 |
HSL | 280° | 56.67% | 23.53% |
HSB/HSV | 280° | 72.34% | 36.86% |
CMYK | 24.47% | 72.34% | 0.00% |
63.14% |
HEX | 47 | 1A | 5E |
Decimal | 71 | 26 | 94 |
Binary | 1000111 | 11010 | 1011110 |
Octal | 107 | 32 | 136 |
Examples of css and html codes for elements with #471A5E color. Also use rgb(71,26,94) instead hex code.
.myTextColor { color: #471A5E; }
<p style="color:#471A5E">This sample text font color is #471A5E.</p>
This text font color is #471A5E.
.myBgColor { background-color: #471A5E; }
<div style="background-color:#471A5E">Inner text</div>
This div background color is #471A5E.
.myBorderColor { border: 1px solid #471A5E; }
<div style="border:3px solid #471A5E">Div</div>
This div border color is #471A5E.
.myOpacity80 { color: #471A5E; opacity: 0.8; }
<p style="color:#471A5E;opacity:0.8;">80%</p>
Text with #471A5E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #471A5E;}
<p style="text-shadow: 3px 3px 1px #471A5E">Text here.</p>
This text has shadow with #471A5E color.
.textShadow {text-shadow: 3px 3px 1px #471A5E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #471A5E, 5px 5px 20px red">Text here.</p>
This text has shadow with #471A5E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#471A5E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#471A5E, Direction=45, Strength=4)">Text</p>
This text has shadow with #471A5E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #471A5E; -webkit-box-shadow: 1px 1px 3px 2px #471A5E; box-shadow: 1px 1px 3px 2px #471A5E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #471A5E; -webkit-box-shadow: 1px 1px 3px 2px #471A5E; box-shadow:1px 1px 3px 2px #471A5E;">
Div content here</div>
This text has color #471A5E on black background.
This text has color #471A5E on white background.
This text has black color on #471A5E background.
This text has white color on #471A5E background.