HEX: #472976
RGB: (71,41,118)
#472976 contains mainly red and blue colors. Web safe color of #472976 is #333366 (or #336).
#472976 color RGB value is (71,41,118).
RGB: (71,41,118) (28%,16%,46%)
R 71 of 255 = 28%
G 41 of 255 = 16%
B 118 of 255 = 46%
R + G + B ~ 30%. #472976 is quite dark color.
R + G + B =
71 + 41 + 118 = 230 (100%)
R 71 of 230 ~ 30.87%
G 41 of 230 ~ 17.83%
B 118 of 230 ~ 51.3%
#472976 color CMYK value is (40,65,0,54).
CMYK: (40,65,0,54) C40M65Y0K54 (40%,65%,0%,54%) (0.40/0.65/0.00/0.54)
47 | 29 | 76 | |
---|---|---|---|
RGB | 71 | 41 | 118 |
HSL | 263° | 48.43% | 31.18% |
HSB/HSV | 263° | 65.25% | 46.27% |
CMYK | 39.83% | 65.25% | 0.00% |
53.73% |
HEX | 47 | 29 | 76 |
Decimal | 71 | 41 | 118 |
Binary | 1000111 | 101001 | 1110110 |
Octal | 107 | 51 | 166 |
Examples of css and html codes for elements with #472976 color. Also use rgb(71,41,118) instead hex code.
.myTextColor { color: #472976; }
<p style="color:#472976">This sample text font color is #472976.</p>
This text font color is #472976.
.myBgColor { background-color: #472976; }
<div style="background-color:#472976">Inner text</div>
This div background color is #472976.
.myBorderColor { border: 1px solid #472976; }
<div style="border:3px solid #472976">Div</div>
This div border color is #472976.
.myOpacity80 { color: #472976; opacity: 0.8; }
<p style="color:#472976;opacity:0.8;">80%</p>
Text with #472976 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #472976;}
<p style="text-shadow: 3px 3px 1px #472976">Text here.</p>
This text has shadow with #472976 color.
.textShadow {text-shadow: 3px 3px 1px #472976, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #472976, 5px 5px 20px red">Text here.</p>
This text has shadow with #472976 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#472976, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#472976, Direction=45, Strength=4)">Text</p>
This text has shadow with #472976 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #472976; -webkit-box-shadow: 1px 1px 3px 2px #472976; box-shadow: 1px 1px 3px 2px #472976; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #472976; -webkit-box-shadow: 1px 1px 3px 2px #472976; box-shadow:1px 1px 3px 2px #472976;">
Div content here</div>
This text has color #472976 on black background.
This text has color #472976 on white background.
This text has black color on #472976 background.
This text has white color on #472976 background.