HEX: #742C4E
RGB: (116,44,78)
#742C4E contains mainly red and blue colors. Web safe color of #742C4E is #663366 (or #636).
#742C4E color RGB value is (116,44,78).
RGB: (116,44,78) (45%,17%,31%)
R 116 of 255 = 45%
G 44 of 255 = 17%
B 78 of 255 = 31%
R + G + B ~ 31%. #742C4E is quite dark color.
R + G + B =
116 + 44 + 78 = 238 (100%)
R 116 of 238 ~ 48.74%
G 44 of 238 ~ 18.49%
B 78 of 238 ~ 32.77%
#742C4E color CMYK value is (0,62,33,55).
CMYK: (0,62,33,55) C0M62Y33K55 (0%,62%,33%,55%) (0.00/0.62/0.33/0.55)
74 | 2C | 4E | |
---|---|---|---|
RGB | 116 | 44 | 78 |
HSL | 332° | 45.00% | 31.37% |
HSB/HSV | 332° | 62.07% | 45.49% |
CMYK | 0.00% | 62.07% | 32.76% |
54.51% |
HEX | 74 | 2C | 4E |
Decimal | 116 | 44 | 78 |
Binary | 1110100 | 101100 | 1001110 |
Octal | 164 | 54 | 116 |
Examples of css and html codes for elements with #742C4E color. Also use rgb(116,44,78) instead hex code.
.myTextColor { color: #742C4E; }
<p style="color:#742C4E">This sample text font color is #742C4E.</p>
This text font color is #742C4E.
.myBgColor { background-color: #742C4E; }
<div style="background-color:#742C4E">Inner text</div>
This div background color is #742C4E.
.myBorderColor { border: 1px solid #742C4E; }
<div style="border:3px solid #742C4E">Div</div>
This div border color is #742C4E.
.myOpacity80 { color: #742C4E; opacity: 0.8; }
<p style="color:#742C4E;opacity:0.8;">80%</p>
Text with #742C4E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #742C4E;}
<p style="text-shadow: 3px 3px 1px #742C4E">Text here.</p>
This text has shadow with #742C4E color.
.textShadow {text-shadow: 3px 3px 1px #742C4E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #742C4E, 5px 5px 20px red">Text here.</p>
This text has shadow with #742C4E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#742C4E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#742C4E, Direction=45, Strength=4)">Text</p>
This text has shadow with #742C4E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #742C4E; -webkit-box-shadow: 1px 1px 3px 2px #742C4E; box-shadow: 1px 1px 3px 2px #742C4E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #742C4E; -webkit-box-shadow: 1px 1px 3px 2px #742C4E; box-shadow:1px 1px 3px 2px #742C4E;">
Div content here</div>
This text has color #742C4E on black background.
This text has color #742C4E on white background.
This text has black color on #742C4E background.
This text has white color on #742C4E background.