HEX: #471A6F
RGB: (71,26,111)
#471A6F contains mainly red and blue colors. Web safe color of #471A6F is #330066 (or #306).
#471A6F color RGB value is (71,26,111).
RGB: (71,26,111) (28%,10%,44%)
R 71 of 255 = 28%
G 26 of 255 = 10%
B 111 of 255 = 44%
R + G + B ~ 27%. #471A6F is quite dark color.
R + G + B =
71 + 26 + 111 = 208 (100%)
R 71 of 208 ~ 34.13%
G 26 of 208 ~ 12.5%
B 111 of 208 ~ 53.37%
#471A6F color CMYK value is (36,77,0,56).
CMYK: (36,77,0,56) C36M77Y0K56 (36%,77%,0%,56%) (0.36/0.77/0.00/0.56)
47 | 1A | 6F | |
---|---|---|---|
RGB | 71 | 26 | 111 |
HSL | 272° | 62.04% | 26.86% |
HSB/HSV | 272° | 76.58% | 43.53% |
CMYK | 36.04% | 76.58% | 0.00% |
56.47% |
HEX | 47 | 1A | 6F |
Decimal | 71 | 26 | 111 |
Binary | 1000111 | 11010 | 1101111 |
Octal | 107 | 32 | 157 |
Examples of css and html codes for elements with #471A6F color. Also use rgb(71,26,111) instead hex code.
.myTextColor { color: #471A6F; }
<p style="color:#471A6F">This sample text font color is #471A6F.</p>
This text font color is #471A6F.
.myBgColor { background-color: #471A6F; }
<div style="background-color:#471A6F">Inner text</div>
This div background color is #471A6F.
.myBorderColor { border: 1px solid #471A6F; }
<div style="border:3px solid #471A6F">Div</div>
This div border color is #471A6F.
.myOpacity80 { color: #471A6F; opacity: 0.8; }
<p style="color:#471A6F;opacity:0.8;">80%</p>
Text with #471A6F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #471A6F;}
<p style="text-shadow: 3px 3px 1px #471A6F">Text here.</p>
This text has shadow with #471A6F color.
.textShadow {text-shadow: 3px 3px 1px #471A6F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #471A6F, 5px 5px 20px red">Text here.</p>
This text has shadow with #471A6F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#471A6F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#471A6F, Direction=45, Strength=4)">Text</p>
This text has shadow with #471A6F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #471A6F; -webkit-box-shadow: 1px 1px 3px 2px #471A6F; box-shadow: 1px 1px 3px 2px #471A6F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #471A6F; -webkit-box-shadow: 1px 1px 3px 2px #471A6F; box-shadow:1px 1px 3px 2px #471A6F;">
Div content here</div>
This text has color #471A6F on black background.
This text has color #471A6F on white background.
This text has black color on #471A6F background.
This text has white color on #471A6F background.