HEX: #7F47B3
RGB: (127,71,179)
#7F47B3 contains mainly red and blue colors. Web safe color of #7F47B3 is #663399 (or #639).
#7F47B3 color RGB value is (127,71,179).
RGB: (127,71,179) (50%,28%,70%)
R 127 of 255 = 50%
G 71 of 255 = 28%
B 179 of 255 = 70%
R + G + B ~ 49%. #7F47B3 is middle color (not dark and not light).
R + G + B =
127 + 71 + 179 = 377 (100%)
R 127 of 377 ~ 33.69%
G 71 of 377 ~ 18.83%
B 179 of 377 ~ 47.48%
#7F47B3 color CMYK value is (29,60,0,30).
CMYK: (29,60,0,30) C29M60Y0K30 (29%,60%,0%,30%) (0.29/0.60/0.00/0.30)
7F | 47 | B3 | |
---|---|---|---|
RGB | 127 | 71 | 179 |
HSL | 271° | 43.20% | 49.02% |
HSB/HSV | 271° | 60.34% | 70.20% |
CMYK | 29.05% | 60.34% | 0.00% |
29.80% |
HEX | 7F | 47 | B3 |
Decimal | 127 | 71 | 179 |
Binary | 1111111 | 1000111 | 10110011 |
Octal | 177 | 107 | 263 |
Examples of css and html codes for elements with #7F47B3 color. Also use rgb(127,71,179) instead hex code.
.myTextColor { color: #7F47B3; }
<p style="color:#7F47B3">This sample text font color is #7F47B3.</p>
This text font color is #7F47B3.
.myBgColor { background-color: #7F47B3; }
<div style="background-color:#7F47B3">Inner text</div>
This div background color is #7F47B3.
.myBorderColor { border: 1px solid #7F47B3; }
<div style="border:3px solid #7F47B3">Div</div>
This div border color is #7F47B3.
.myOpacity80 { color: #7F47B3; opacity: 0.8; }
<p style="color:#7F47B3;opacity:0.8;">80%</p>
Text with #7F47B3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7F47B3;}
<p style="text-shadow: 3px 3px 1px #7F47B3">Text here.</p>
This text has shadow with #7F47B3 color.
.textShadow {text-shadow: 3px 3px 1px #7F47B3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7F47B3, 5px 5px 20px red">Text here.</p>
This text has shadow with #7F47B3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7F47B3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7F47B3, Direction=45, Strength=4)">Text</p>
This text has shadow with #7F47B3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7F47B3; -webkit-box-shadow: 1px 1px 3px 2px #7F47B3; box-shadow: 1px 1px 3px 2px #7F47B3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7F47B3; -webkit-box-shadow: 1px 1px 3px 2px #7F47B3; box-shadow:1px 1px 3px 2px #7F47B3;">
Div content here</div>
This text has color #7F47B3 on black background.
This text has color #7F47B3 on white background.
This text has black color on #7F47B3 background.
This text has white color on #7F47B3 background.