HEX: #472482
RGB: (71,36,130)
#472482 contains mainly red and blue colors. Web safe color of #472482 is #333399 (or #339).
#472482 color RGB value is (71,36,130).
RGB: (71,36,130) (28%,14%,51%)
R 71 of 255 = 28%
G 36 of 255 = 14%
B 130 of 255 = 51%
R + G + B ~ 31%. #472482 is quite dark color.
R + G + B =
71 + 36 + 130 = 237 (100%)
R 71 of 237 ~ 29.96%
G 36 of 237 ~ 15.19%
B 130 of 237 ~ 54.85%
#472482 color CMYK value is (45,72,0,49).
CMYK: (45,72,0,49) C45M72Y0K49 (45%,72%,0%,49%) (0.45/0.72/0.00/0.49)
47 | 24 | 82 | |
---|---|---|---|
RGB | 71 | 36 | 130 |
HSL | 262° | 56.63% | 32.55% |
HSB/HSV | 262° | 72.31% | 50.98% |
CMYK | 45.38% | 72.31% | 0.00% |
49.02% |
HEX | 47 | 24 | 82 |
Decimal | 71 | 36 | 130 |
Binary | 1000111 | 100100 | 10000010 |
Octal | 107 | 44 | 202 |
Examples of css and html codes for elements with #472482 color. Also use rgb(71,36,130) instead hex code.
.myTextColor { color: #472482; }
<p style="color:#472482">This sample text font color is #472482.</p>
This text font color is #472482.
.myBgColor { background-color: #472482; }
<div style="background-color:#472482">Inner text</div>
This div background color is #472482.
.myBorderColor { border: 1px solid #472482; }
<div style="border:3px solid #472482">Div</div>
This div border color is #472482.
.myOpacity80 { color: #472482; opacity: 0.8; }
<p style="color:#472482;opacity:0.8;">80%</p>
Text with #472482 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #472482;}
<p style="text-shadow: 3px 3px 1px #472482">Text here.</p>
This text has shadow with #472482 color.
.textShadow {text-shadow: 3px 3px 1px #472482, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #472482, 5px 5px 20px red">Text here.</p>
This text has shadow with #472482 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#472482, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#472482, Direction=45, Strength=4)">Text</p>
This text has shadow with #472482 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #472482; -webkit-box-shadow: 1px 1px 3px 2px #472482; box-shadow: 1px 1px 3px 2px #472482; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #472482; -webkit-box-shadow: 1px 1px 3px 2px #472482; box-shadow:1px 1px 3px 2px #472482;">
Div content here</div>
This text has color #472482 on black background.
This text has color #472482 on white background.
This text has black color on #472482 background.
This text has white color on #472482 background.