HEX: #742D4A
RGB: (116,45,74)
#742D4A contains mainly red and blue colors. Web safe color of #742D4A is #663333 (or #633).
#742D4A color RGB value is (116,45,74).
RGB: (116,45,74) (45%,18%,29%)
R 116 of 255 = 45%
G 45 of 255 = 18%
B 74 of 255 = 29%
R + G + B ~ 31%. #742D4A is quite dark color.
R + G + B =
116 + 45 + 74 = 235 (100%)
R 116 of 235 ~ 49.36%
G 45 of 235 ~ 19.15%
B 74 of 235 ~ 31.49%
#742D4A color CMYK value is (0,61,36,55).
CMYK: (0,61,36,55) C0M61Y36K55 (0%,61%,36%,55%) (0.00/0.61/0.36/0.55)
74 | 2D | 4A | |
---|---|---|---|
RGB | 116 | 45 | 74 |
HSL | 335° | 44.10% | 31.57% |
HSB/HSV | 335° | 61.21% | 45.49% |
CMYK | 0.00% | 61.21% | 36.21% |
54.51% |
HEX | 74 | 2D | 4A |
Decimal | 116 | 45 | 74 |
Binary | 1110100 | 101101 | 1001010 |
Octal | 164 | 55 | 112 |
Examples of css and html codes for elements with #742D4A color. Also use rgb(116,45,74) instead hex code.
.myTextColor { color: #742D4A; }
<p style="color:#742D4A">This sample text font color is #742D4A.</p>
This text font color is #742D4A.
.myBgColor { background-color: #742D4A; }
<div style="background-color:#742D4A">Inner text</div>
This div background color is #742D4A.
.myBorderColor { border: 1px solid #742D4A; }
<div style="border:3px solid #742D4A">Div</div>
This div border color is #742D4A.
.myOpacity80 { color: #742D4A; opacity: 0.8; }
<p style="color:#742D4A;opacity:0.8;">80%</p>
Text with #742D4A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #742D4A;}
<p style="text-shadow: 3px 3px 1px #742D4A">Text here.</p>
This text has shadow with #742D4A color.
.textShadow {text-shadow: 3px 3px 1px #742D4A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #742D4A, 5px 5px 20px red">Text here.</p>
This text has shadow with #742D4A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#742D4A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#742D4A, Direction=45, Strength=4)">Text</p>
This text has shadow with #742D4A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #742D4A; -webkit-box-shadow: 1px 1px 3px 2px #742D4A; box-shadow: 1px 1px 3px 2px #742D4A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #742D4A; -webkit-box-shadow: 1px 1px 3px 2px #742D4A; box-shadow:1px 1px 3px 2px #742D4A;">
Div content here</div>
This text has color #742D4A on black background.
This text has color #742D4A on white background.
This text has black color on #742D4A background.
This text has white color on #742D4A background.