HEX: #472D94
RGB: (71,45,148)
#472D94 contains mainly blue color. Web safe color of #472D94 is #333399 (or #339).
#472D94 color RGB value is (71,45,148).
RGB: (71,45,148) (28%,18%,58%)
R 71 of 255 = 28%
G 45 of 255 = 18%
B 148 of 255 = 58%
R + G + B ~ 35%. #472D94 is quite dark color.
R + G + B =
71 + 45 + 148 = 264 (100%)
R 71 of 264 ~ 26.89%
G 45 of 264 ~ 17.05%
B 148 of 264 ~ 56.06%
#472D94 color CMYK value is (52,70,0,42).
CMYK: (52,70,0,42) C52M70Y0K42 (52%,70%,0%,42%) (0.52/0.70/0.00/0.42)
47 | 2D | 94 | |
---|---|---|---|
RGB | 71 | 45 | 148 |
HSL | 255° | 53.37% | 37.84% |
HSB/HSV | 255° | 69.59% | 58.04% |
CMYK | 52.03% | 69.59% | 0.00% |
41.96% |
HEX | 47 | 2D | 94 |
Decimal | 71 | 45 | 148 |
Binary | 1000111 | 101101 | 10010100 |
Octal | 107 | 55 | 224 |
Examples of css and html codes for elements with #472D94 color. Also use rgb(71,45,148) instead hex code.
.myTextColor { color: #472D94; }
<p style="color:#472D94">This sample text font color is #472D94.</p>
This text font color is #472D94.
.myBgColor { background-color: #472D94; }
<div style="background-color:#472D94">Inner text</div>
This div background color is #472D94.
.myBorderColor { border: 1px solid #472D94; }
<div style="border:3px solid #472D94">Div</div>
This div border color is #472D94.
.myOpacity80 { color: #472D94; opacity: 0.8; }
<p style="color:#472D94;opacity:0.8;">80%</p>
Text with #472D94 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #472D94;}
<p style="text-shadow: 3px 3px 1px #472D94">Text here.</p>
This text has shadow with #472D94 color.
.textShadow {text-shadow: 3px 3px 1px #472D94, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #472D94, 5px 5px 20px red">Text here.</p>
This text has shadow with #472D94 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#472D94, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#472D94, Direction=45, Strength=4)">Text</p>
This text has shadow with #472D94 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #472D94; -webkit-box-shadow: 1px 1px 3px 2px #472D94; box-shadow: 1px 1px 3px 2px #472D94; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #472D94; -webkit-box-shadow: 1px 1px 3px 2px #472D94; box-shadow:1px 1px 3px 2px #472D94;">
Div content here</div>
This text has color #472D94 on black background.
This text has color #472D94 on white background.
This text has black color on #472D94 background.
This text has white color on #472D94 background.