HEX: #472758
RGB: (71,39,88)
#472758 contains red, green and blue colors in about the same proportion. Web safe color of #472758 is #333366 (or #336).
#472758 color RGB value is (71,39,88).
RGB: (71,39,88) (28%,15%,35%)
R 71 of 255 = 28%
G 39 of 255 = 15%
B 88 of 255 = 35%
R + G + B ~ 26%. #472758 is quite dark color.
R + G + B =
71 + 39 + 88 = 198 (100%)
R 71 of 198 ~ 35.86%
G 39 of 198 ~ 19.7%
B 88 of 198 ~ 44.44%
#472758 color CMYK value is (19,56,0,65).
CMYK: (19,56,0,65) C19M56Y0K65 (19%,56%,0%,65%) (0.19/0.56/0.00/0.65)
47 | 27 | 58 | |
---|---|---|---|
RGB | 71 | 39 | 88 |
HSL | 279° | 38.58% | 24.90% |
HSB/HSV | 279° | 55.68% | 34.51% |
CMYK | 19.32% | 55.68% | 0.00% |
65.49% |
HEX | 47 | 27 | 58 |
Decimal | 71 | 39 | 88 |
Binary | 1000111 | 100111 | 1011000 |
Octal | 107 | 47 | 130 |
Examples of css and html codes for elements with #472758 color. Also use rgb(71,39,88) instead hex code.
.myTextColor { color: #472758; }
<p style="color:#472758">This sample text font color is #472758.</p>
This text font color is #472758.
.myBgColor { background-color: #472758; }
<div style="background-color:#472758">Inner text</div>
This div background color is #472758.
.myBorderColor { border: 1px solid #472758; }
<div style="border:3px solid #472758">Div</div>
This div border color is #472758.
.myOpacity80 { color: #472758; opacity: 0.8; }
<p style="color:#472758;opacity:0.8;">80%</p>
Text with #472758 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #472758;}
<p style="text-shadow: 3px 3px 1px #472758">Text here.</p>
This text has shadow with #472758 color.
.textShadow {text-shadow: 3px 3px 1px #472758, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #472758, 5px 5px 20px red">Text here.</p>
This text has shadow with #472758 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#472758, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#472758, Direction=45, Strength=4)">Text</p>
This text has shadow with #472758 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #472758; -webkit-box-shadow: 1px 1px 3px 2px #472758; box-shadow: 1px 1px 3px 2px #472758; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #472758; -webkit-box-shadow: 1px 1px 3px 2px #472758; box-shadow:1px 1px 3px 2px #472758;">
Div content here</div>
This text has color #472758 on black background.
This text has color #472758 on white background.
This text has black color on #472758 background.
This text has white color on #472758 background.