HEX: #712498
RGB: (113,36,152)
#712498 contains mainly red and blue colors. Web safe color of #712498 is #663399 (or #639).
#712498 color RGB value is (113,36,152).
RGB: (113,36,152) (44%,14%,60%)
R 113 of 255 = 44%
G 36 of 255 = 14%
B 152 of 255 = 60%
R + G + B ~ 39%. #712498 is quite dark color.
R + G + B =
113 + 36 + 152 = 301 (100%)
R 113 of 301 ~ 37.54%
G 36 of 301 ~ 11.96%
B 152 of 301 ~ 50.5%
#712498 color CMYK value is (26,76,0,40).
CMYK: (26,76,0,40) C26M76Y0K40 (26%,76%,0%,40%) (0.26/0.76/0.00/0.40)
71 | 24 | 98 | |
---|---|---|---|
RGB | 113 | 36 | 152 |
HSL | 280° | 61.70% | 36.86% |
HSB/HSV | 280° | 76.32% | 59.61% |
CMYK | 25.66% | 76.32% | 0.00% |
40.39% |
HEX | 71 | 24 | 98 |
Decimal | 113 | 36 | 152 |
Binary | 1110001 | 100100 | 10011000 |
Octal | 161 | 44 | 230 |
Examples of css and html codes for elements with #712498 color. Also use rgb(113,36,152) instead hex code.
.myTextColor { color: #712498; }
<p style="color:#712498">This sample text font color is #712498.</p>
This text font color is #712498.
.myBgColor { background-color: #712498; }
<div style="background-color:#712498">Inner text</div>
This div background color is #712498.
.myBorderColor { border: 1px solid #712498; }
<div style="border:3px solid #712498">Div</div>
This div border color is #712498.
.myOpacity80 { color: #712498; opacity: 0.8; }
<p style="color:#712498;opacity:0.8;">80%</p>
Text with #712498 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #712498;}
<p style="text-shadow: 3px 3px 1px #712498">Text here.</p>
This text has shadow with #712498 color.
.textShadow {text-shadow: 3px 3px 1px #712498, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #712498, 5px 5px 20px red">Text here.</p>
This text has shadow with #712498 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#712498, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#712498, Direction=45, Strength=4)">Text</p>
This text has shadow with #712498 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #712498; -webkit-box-shadow: 1px 1px 3px 2px #712498; box-shadow: 1px 1px 3px 2px #712498; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #712498; -webkit-box-shadow: 1px 1px 3px 2px #712498; box-shadow:1px 1px 3px 2px #712498;">
Div content here</div>
This text has color #712498 on black background.
This text has color #712498 on white background.
This text has black color on #712498 background.
This text has white color on #712498 background.