HEX: #742252
RGB: (116,34,82)
#742252 contains mainly red and blue colors. Web safe color of #742252 is #663366 (or #636).
#742252 color RGB value is (116,34,82).
RGB: (116,34,82) (45%,13%,32%)
R 116 of 255 = 45%
G 34 of 255 = 13%
B 82 of 255 = 32%
R + G + B ~ 30%. #742252 is quite dark color.
R + G + B =
116 + 34 + 82 = 232 (100%)
R 116 of 232 ~ 50%
G 34 of 232 ~ 14.66%
B 82 of 232 ~ 35.34%
#742252 color CMYK value is (0,71,29,55).
CMYK: (0,71,29,55) C0M71Y29K55 (0%,71%,29%,55%) (0.00/0.71/0.29/0.55)
74 | 22 | 52 | |
---|---|---|---|
RGB | 116 | 34 | 82 |
HSL | 325° | 54.67% | 29.41% |
HSB/HSV | 325° | 70.69% | 45.49% |
CMYK | 0.00% | 70.69% | 29.31% |
54.51% |
HEX | 74 | 22 | 52 |
Decimal | 116 | 34 | 82 |
Binary | 1110100 | 100010 | 1010010 |
Octal | 164 | 42 | 122 |
Examples of css and html codes for elements with #742252 color. Also use rgb(116,34,82) instead hex code.
.myTextColor { color: #742252; }
<p style="color:#742252">This sample text font color is #742252.</p>
This text font color is #742252.
.myBgColor { background-color: #742252; }
<div style="background-color:#742252">Inner text</div>
This div background color is #742252.
.myBorderColor { border: 1px solid #742252; }
<div style="border:3px solid #742252">Div</div>
This div border color is #742252.
.myOpacity80 { color: #742252; opacity: 0.8; }
<p style="color:#742252;opacity:0.8;">80%</p>
Text with #742252 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #742252;}
<p style="text-shadow: 3px 3px 1px #742252">Text here.</p>
This text has shadow with #742252 color.
.textShadow {text-shadow: 3px 3px 1px #742252, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #742252, 5px 5px 20px red">Text here.</p>
This text has shadow with #742252 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#742252, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#742252, Direction=45, Strength=4)">Text</p>
This text has shadow with #742252 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #742252; -webkit-box-shadow: 1px 1px 3px 2px #742252; box-shadow: 1px 1px 3px 2px #742252; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #742252; -webkit-box-shadow: 1px 1px 3px 2px #742252; box-shadow:1px 1px 3px 2px #742252;">
Div content here</div>
This text has color #742252 on black background.
This text has color #742252 on white background.
This text has black color on #742252 background.
This text has white color on #742252 background.