HEX: #741E8B
RGB: (116,30,139)
#741E8B contains mainly red and blue colors. Web safe color of #741E8B is #663399 (or #639).
#741E8B color RGB value is (116,30,139).
RGB: (116,30,139) (45%,12%,55%)
R 116 of 255 = 45%
G 30 of 255 = 12%
B 139 of 255 = 55%
R + G + B ~ 37%. #741E8B is quite dark color.
R + G + B =
116 + 30 + 139 = 285 (100%)
R 116 of 285 ~ 40.7%
G 30 of 285 ~ 10.53%
B 139 of 285 ~ 48.77%
#741E8B color CMYK value is (17,78,0,45).
CMYK: (17,78,0,45) C17M78Y0K45 (17%,78%,0%,45%) (0.17/0.78/0.00/0.45)
74 | 1E | 8B | |
---|---|---|---|
RGB | 116 | 30 | 139 |
HSL | 287° | 64.50% | 33.14% |
HSB/HSV | 287° | 78.42% | 54.51% |
CMYK | 16.55% | 78.42% | 0.00% |
45.49% |
HEX | 74 | 1E | 8B |
Decimal | 116 | 30 | 139 |
Binary | 1110100 | 11110 | 10001011 |
Octal | 164 | 36 | 213 |
Examples of css and html codes for elements with #741E8B color. Also use rgb(116,30,139) instead hex code.
.myTextColor { color: #741E8B; }
<p style="color:#741E8B">This sample text font color is #741E8B.</p>
This text font color is #741E8B.
.myBgColor { background-color: #741E8B; }
<div style="background-color:#741E8B">Inner text</div>
This div background color is #741E8B.
.myBorderColor { border: 1px solid #741E8B; }
<div style="border:3px solid #741E8B">Div</div>
This div border color is #741E8B.
.myOpacity80 { color: #741E8B; opacity: 0.8; }
<p style="color:#741E8B;opacity:0.8;">80%</p>
Text with #741E8B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #741E8B;}
<p style="text-shadow: 3px 3px 1px #741E8B">Text here.</p>
This text has shadow with #741E8B color.
.textShadow {text-shadow: 3px 3px 1px #741E8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #741E8B, 5px 5px 20px red">Text here.</p>
This text has shadow with #741E8B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#741E8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#741E8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #741E8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #741E8B; -webkit-box-shadow: 1px 1px 3px 2px #741E8B; box-shadow: 1px 1px 3px 2px #741E8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #741E8B; -webkit-box-shadow: 1px 1px 3px 2px #741E8B; box-shadow:1px 1px 3px 2px #741E8B;">
Div content here</div>
This text has color #741E8B on black background.
This text has color #741E8B on white background.
This text has black color on #741E8B background.
This text has white color on #741E8B background.