HEX: #742748
RGB: (116,39,72)
#742748 contains mainly red and blue colors. Web safe color of #742748 is #663333 (or #633).
#742748 color RGB value is (116,39,72).
RGB: (116,39,72) (45%,15%,28%)
R 116 of 255 = 45%
G 39 of 255 = 15%
B 72 of 255 = 28%
R + G + B ~ 29%. #742748 is quite dark color.
R + G + B =
116 + 39 + 72 = 227 (100%)
R 116 of 227 ~ 51.1%
G 39 of 227 ~ 17.18%
B 72 of 227 ~ 31.72%
#742748 color CMYK value is (0,66,38,55).
CMYK: (0,66,38,55) C0M66Y38K55 (0%,66%,38%,55%) (0.00/0.66/0.38/0.55)
74 | 27 | 48 | |
---|---|---|---|
RGB | 116 | 39 | 72 |
HSL | 334° | 49.68% | 30.39% |
HSB/HSV | 334° | 66.38% | 45.49% |
CMYK | 0.00% | 66.38% | 37.93% |
54.51% |
HEX | 74 | 27 | 48 |
Decimal | 116 | 39 | 72 |
Binary | 1110100 | 100111 | 1001000 |
Octal | 164 | 47 | 110 |
Examples of css and html codes for elements with #742748 color. Also use rgb(116,39,72) instead hex code.
.myTextColor { color: #742748; }
<p style="color:#742748">This sample text font color is #742748.</p>
This text font color is #742748.
.myBgColor { background-color: #742748; }
<div style="background-color:#742748">Inner text</div>
This div background color is #742748.
.myBorderColor { border: 1px solid #742748; }
<div style="border:3px solid #742748">Div</div>
This div border color is #742748.
.myOpacity80 { color: #742748; opacity: 0.8; }
<p style="color:#742748;opacity:0.8;">80%</p>
Text with #742748 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #742748;}
<p style="text-shadow: 3px 3px 1px #742748">Text here.</p>
This text has shadow with #742748 color.
.textShadow {text-shadow: 3px 3px 1px #742748, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #742748, 5px 5px 20px red">Text here.</p>
This text has shadow with #742748 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#742748, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#742748, Direction=45, Strength=4)">Text</p>
This text has shadow with #742748 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #742748; -webkit-box-shadow: 1px 1px 3px 2px #742748; box-shadow: 1px 1px 3px 2px #742748; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #742748; -webkit-box-shadow: 1px 1px 3px 2px #742748; box-shadow:1px 1px 3px 2px #742748;">
Div content here</div>
This text has color #742748 on black background.
This text has color #742748 on white background.
This text has black color on #742748 background.
This text has white color on #742748 background.