HEX: #47315D
RGB: (71,49,93)
#47315D contains red, green and blue colors in about the same proportion. Web safe color of #47315D is #333366 (or #336).
#47315D color RGB value is (71,49,93).
RGB: (71,49,93) (28%,19%,36%)
R 71 of 255 = 28%
G 49 of 255 = 19%
B 93 of 255 = 36%
R + G + B ~ 28%. #47315D is quite dark color.
R + G + B =
71 + 49 + 93 = 213 (100%)
R 71 of 213 ~ 33.33%
G 49 of 213 ~ 23%
B 93 of 213 ~ 43.66%
#47315D color CMYK value is (24,47,0,64).
CMYK: (24,47,0,64) C24M47Y0K64 (24%,47%,0%,64%) (0.24/0.47/0.00/0.64)
47 | 31 | 5D | |
---|---|---|---|
RGB | 71 | 49 | 93 |
HSL | 270° | 30.99% | 27.84% |
HSB/HSV | 270° | 47.31% | 36.47% |
CMYK | 23.66% | 47.31% | 0.00% |
63.53% |
HEX | 47 | 31 | 5D |
Decimal | 71 | 49 | 93 |
Binary | 1000111 | 110001 | 1011101 |
Octal | 107 | 61 | 135 |
Examples of css and html codes for elements with #47315D color. Also use rgb(71,49,93) instead hex code.
.myTextColor { color: #47315D; }
<p style="color:#47315D">This sample text font color is #47315D.</p>
This text font color is #47315D.
.myBgColor { background-color: #47315D; }
<div style="background-color:#47315D">Inner text</div>
This div background color is #47315D.
.myBorderColor { border: 1px solid #47315D; }
<div style="border:3px solid #47315D">Div</div>
This div border color is #47315D.
.myOpacity80 { color: #47315D; opacity: 0.8; }
<p style="color:#47315D;opacity:0.8;">80%</p>
Text with #47315D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #47315D;}
<p style="text-shadow: 3px 3px 1px #47315D">Text here.</p>
This text has shadow with #47315D color.
.textShadow {text-shadow: 3px 3px 1px #47315D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #47315D, 5px 5px 20px red">Text here.</p>
This text has shadow with #47315D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#47315D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#47315D, Direction=45, Strength=4)">Text</p>
This text has shadow with #47315D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #47315D; -webkit-box-shadow: 1px 1px 3px 2px #47315D; box-shadow: 1px 1px 3px 2px #47315D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #47315D; -webkit-box-shadow: 1px 1px 3px 2px #47315D; box-shadow:1px 1px 3px 2px #47315D;">
Div content here</div>
This text has color #47315D on black background.
This text has color #47315D on white background.
This text has black color on #47315D background.
This text has white color on #47315D background.