HEX: #742859
RGB: (116,40,89)
#742859 contains mainly red and blue colors. Web safe color of #742859 is #663366 (or #636).
#742859 color RGB value is (116,40,89).
RGB: (116,40,89) (45%,16%,35%)
R 116 of 255 = 45%
G 40 of 255 = 16%
B 89 of 255 = 35%
R + G + B ~ 32%. #742859 is quite dark color.
R + G + B =
116 + 40 + 89 = 245 (100%)
R 116 of 245 ~ 47.35%
G 40 of 245 ~ 16.33%
B 89 of 245 ~ 36.33%
#742859 color CMYK value is (0,66,23,55).
CMYK: (0,66,23,55) C0M66Y23K55 (0%,66%,23%,55%) (0.00/0.66/0.23/0.55)
74 | 28 | 59 | |
---|---|---|---|
RGB | 116 | 40 | 89 |
HSL | 321° | 48.72% | 30.59% |
HSB/HSV | 321° | 65.52% | 45.49% |
CMYK | 0.00% | 65.52% | 23.28% |
54.51% |
HEX | 74 | 28 | 59 |
Decimal | 116 | 40 | 89 |
Binary | 1110100 | 101000 | 1011001 |
Octal | 164 | 50 | 131 |
Examples of css and html codes for elements with #742859 color. Also use rgb(116,40,89) instead hex code.
.myTextColor { color: #742859; }
<p style="color:#742859">This sample text font color is #742859.</p>
This text font color is #742859.
.myBgColor { background-color: #742859; }
<div style="background-color:#742859">Inner text</div>
This div background color is #742859.
.myBorderColor { border: 1px solid #742859; }
<div style="border:3px solid #742859">Div</div>
This div border color is #742859.
.myOpacity80 { color: #742859; opacity: 0.8; }
<p style="color:#742859;opacity:0.8;">80%</p>
Text with #742859 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #742859;}
<p style="text-shadow: 3px 3px 1px #742859">Text here.</p>
This text has shadow with #742859 color.
.textShadow {text-shadow: 3px 3px 1px #742859, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #742859, 5px 5px 20px red">Text here.</p>
This text has shadow with #742859 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#742859, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#742859, Direction=45, Strength=4)">Text</p>
This text has shadow with #742859 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #742859; -webkit-box-shadow: 1px 1px 3px 2px #742859; box-shadow: 1px 1px 3px 2px #742859; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #742859; -webkit-box-shadow: 1px 1px 3px 2px #742859; box-shadow:1px 1px 3px 2px #742859;">
Div content here</div>
This text has color #742859 on black background.
This text has color #742859 on white background.
This text has black color on #742859 background.
This text has white color on #742859 background.