HEX: #74427E
RGB: (116,66,126)
#74427E contains mainly red and blue colors. Web safe color of #74427E is #663366 (or #636).
#74427E color RGB value is (116,66,126).
RGB: (116,66,126) (45%,26%,49%)
R 116 of 255 = 45%
G 66 of 255 = 26%
B 126 of 255 = 49%
R + G + B ~ 40%. #74427E is middle color (not dark and not light).
R + G + B =
116 + 66 + 126 = 308 (100%)
R 116 of 308 ~ 37.66%
G 66 of 308 ~ 21.43%
B 126 of 308 ~ 40.91%
#74427E color CMYK value is (8,48,0,51).
CMYK: (8,48,0,51) C8M48Y0K51 (8%,48%,0%,51%) (0.08/0.48/0.00/0.51)
74 | 42 | 7E | |
---|---|---|---|
RGB | 116 | 66 | 126 |
HSL | 290° | 31.25% | 37.65% |
HSB/HSV | 290° | 47.62% | 49.41% |
CMYK | 7.94% | 47.62% | 0.00% |
50.59% |
HEX | 74 | 42 | 7E |
Decimal | 116 | 66 | 126 |
Binary | 1110100 | 1000010 | 1111110 |
Octal | 164 | 102 | 176 |
Examples of css and html codes for elements with #74427E color. Also use rgb(116,66,126) instead hex code.
.myTextColor { color: #74427E; }
<p style="color:#74427E">This sample text font color is #74427E.</p>
This text font color is #74427E.
.myBgColor { background-color: #74427E; }
<div style="background-color:#74427E">Inner text</div>
This div background color is #74427E.
.myBorderColor { border: 1px solid #74427E; }
<div style="border:3px solid #74427E">Div</div>
This div border color is #74427E.
.myOpacity80 { color: #74427E; opacity: 0.8; }
<p style="color:#74427E;opacity:0.8;">80%</p>
Text with #74427E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74427E;}
<p style="text-shadow: 3px 3px 1px #74427E">Text here.</p>
This text has shadow with #74427E color.
.textShadow {text-shadow: 3px 3px 1px #74427E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74427E, 5px 5px 20px red">Text here.</p>
This text has shadow with #74427E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74427E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74427E, Direction=45, Strength=4)">Text</p>
This text has shadow with #74427E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74427E; -webkit-box-shadow: 1px 1px 3px 2px #74427E; box-shadow: 1px 1px 3px 2px #74427E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74427E; -webkit-box-shadow: 1px 1px 3px 2px #74427E; box-shadow:1px 1px 3px 2px #74427E;">
Div content here</div>
This text has color #74427E on black background.
This text has color #74427E on white background.
This text has black color on #74427E background.
This text has white color on #74427E background.