HEX: #472267
RGB: (71,34,103)
#472267 contains mainly red and blue colors. Web safe color of #472267 is #333366 (or #336).
#472267 color RGB value is (71,34,103).
RGB: (71,34,103) (28%,13%,40%)
R 71 of 255 = 28%
G 34 of 255 = 13%
B 103 of 255 = 40%
R + G + B ~ 27%. #472267 is quite dark color.
R + G + B =
71 + 34 + 103 = 208 (100%)
R 71 of 208 ~ 34.13%
G 34 of 208 ~ 16.35%
B 103 of 208 ~ 49.52%
#472267 color CMYK value is (31,67,0,60).
CMYK: (31,67,0,60) C31M67Y0K60 (31%,67%,0%,60%) (0.31/0.67/0.00/0.60)
47 | 22 | 67 | |
---|---|---|---|
RGB | 71 | 34 | 103 |
HSL | 272° | 50.36% | 26.86% |
HSB/HSV | 272° | 66.99% | 40.39% |
CMYK | 31.07% | 66.99% | 0.00% |
59.61% |
HEX | 47 | 22 | 67 |
Decimal | 71 | 34 | 103 |
Binary | 1000111 | 100010 | 1100111 |
Octal | 107 | 42 | 147 |
Examples of css and html codes for elements with #472267 color. Also use rgb(71,34,103) instead hex code.
.myTextColor { color: #472267; }
<p style="color:#472267">This sample text font color is #472267.</p>
This text font color is #472267.
.myBgColor { background-color: #472267; }
<div style="background-color:#472267">Inner text</div>
This div background color is #472267.
.myBorderColor { border: 1px solid #472267; }
<div style="border:3px solid #472267">Div</div>
This div border color is #472267.
.myOpacity80 { color: #472267; opacity: 0.8; }
<p style="color:#472267;opacity:0.8;">80%</p>
Text with #472267 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #472267;}
<p style="text-shadow: 3px 3px 1px #472267">Text here.</p>
This text has shadow with #472267 color.
.textShadow {text-shadow: 3px 3px 1px #472267, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #472267, 5px 5px 20px red">Text here.</p>
This text has shadow with #472267 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#472267, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#472267, Direction=45, Strength=4)">Text</p>
This text has shadow with #472267 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #472267; -webkit-box-shadow: 1px 1px 3px 2px #472267; box-shadow: 1px 1px 3px 2px #472267; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #472267; -webkit-box-shadow: 1px 1px 3px 2px #472267; box-shadow:1px 1px 3px 2px #472267;">
Div content here</div>
This text has color #472267 on black background.
This text has color #472267 on white background.
This text has black color on #472267 background.
This text has white color on #472267 background.