HEX: #7D317A
RGB: (125,49,122)
#7D317A contains mainly red and blue colors. Web safe color of #7D317A is #663366 (or #636).
#7D317A color RGB value is (125,49,122).
RGB: (125,49,122) (49%,19%,48%)
R 125 of 255 = 49%
G 49 of 255 = 19%
B 122 of 255 = 48%
R + G + B ~ 39%. #7D317A is quite dark color.
R + G + B =
125 + 49 + 122 = 296 (100%)
R 125 of 296 ~ 42.23%
G 49 of 296 ~ 16.55%
B 122 of 296 ~ 41.22%
#7D317A color CMYK value is (0,61,2,51).
CMYK: (0,61,2,51) C0M61Y2K51 (0%,61%,2%,51%) (0.00/0.61/0.02/0.51)
7D | 31 | 7A | |
---|---|---|---|
RGB | 125 | 49 | 122 |
HSL | 302° | 43.68% | 34.12% |
HSB/HSV | 302° | 60.80% | 49.02% |
CMYK | 0.00% | 60.80% | 2.40% |
50.98% |
HEX | 7D | 31 | 7A |
Decimal | 125 | 49 | 122 |
Binary | 1111101 | 110001 | 1111010 |
Octal | 175 | 61 | 172 |
Examples of css and html codes for elements with #7D317A color. Also use rgb(125,49,122) instead hex code.
.myTextColor { color: #7D317A; }
<p style="color:#7D317A">This sample text font color is #7D317A.</p>
This text font color is #7D317A.
.myBgColor { background-color: #7D317A; }
<div style="background-color:#7D317A">Inner text</div>
This div background color is #7D317A.
.myBorderColor { border: 1px solid #7D317A; }
<div style="border:3px solid #7D317A">Div</div>
This div border color is #7D317A.
.myOpacity80 { color: #7D317A; opacity: 0.8; }
<p style="color:#7D317A;opacity:0.8;">80%</p>
Text with #7D317A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D317A;}
<p style="text-shadow: 3px 3px 1px #7D317A">Text here.</p>
This text has shadow with #7D317A color.
.textShadow {text-shadow: 3px 3px 1px #7D317A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D317A, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D317A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D317A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D317A, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D317A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D317A; -webkit-box-shadow: 1px 1px 3px 2px #7D317A; box-shadow: 1px 1px 3px 2px #7D317A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D317A; -webkit-box-shadow: 1px 1px 3px 2px #7D317A; box-shadow:1px 1px 3px 2px #7D317A;">
Div content here</div>
This text has color #7D317A on black background.
This text has color #7D317A on white background.
This text has black color on #7D317A background.
This text has white color on #7D317A background.