HEX: #47228B
RGB: (71,34,139)
#47228B contains mainly blue color. Web safe color of #47228B is #333399 (or #339).
#47228B color RGB value is (71,34,139).
RGB: (71,34,139) (28%,13%,55%)
R 71 of 255 = 28%
G 34 of 255 = 13%
B 139 of 255 = 55%
R + G + B ~ 32%. #47228B is quite dark color.
R + G + B =
71 + 34 + 139 = 244 (100%)
R 71 of 244 ~ 29.1%
G 34 of 244 ~ 13.93%
B 139 of 244 ~ 56.97%
#47228B color CMYK value is (49,76,0,45).
CMYK: (49,76,0,45) C49M76Y0K45 (49%,76%,0%,45%) (0.49/0.76/0.00/0.45)
47 | 22 | 8B | |
---|---|---|---|
RGB | 71 | 34 | 139 |
HSL | 261° | 60.69% | 33.92% |
HSB/HSV | 261° | 75.54% | 54.51% |
CMYK | 48.92% | 75.54% | 0.00% |
45.49% |
HEX | 47 | 22 | 8B |
Decimal | 71 | 34 | 139 |
Binary | 1000111 | 100010 | 10001011 |
Octal | 107 | 42 | 213 |
Examples of css and html codes for elements with #47228B color. Also use rgb(71,34,139) instead hex code.
.myTextColor { color: #47228B; }
<p style="color:#47228B">This sample text font color is #47228B.</p>
This text font color is #47228B.
.myBgColor { background-color: #47228B; }
<div style="background-color:#47228B">Inner text</div>
This div background color is #47228B.
.myBorderColor { border: 1px solid #47228B; }
<div style="border:3px solid #47228B">Div</div>
This div border color is #47228B.
.myOpacity80 { color: #47228B; opacity: 0.8; }
<p style="color:#47228B;opacity:0.8;">80%</p>
Text with #47228B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #47228B;}
<p style="text-shadow: 3px 3px 1px #47228B">Text here.</p>
This text has shadow with #47228B color.
.textShadow {text-shadow: 3px 3px 1px #47228B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #47228B, 5px 5px 20px red">Text here.</p>
This text has shadow with #47228B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#47228B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#47228B, Direction=45, Strength=4)">Text</p>
This text has shadow with #47228B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #47228B; -webkit-box-shadow: 1px 1px 3px 2px #47228B; box-shadow: 1px 1px 3px 2px #47228B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #47228B; -webkit-box-shadow: 1px 1px 3px 2px #47228B; box-shadow:1px 1px 3px 2px #47228B;">
Div content here</div>
This text has color #47228B on black background.
This text has color #47228B on white background.
This text has black color on #47228B background.
This text has white color on #47228B background.