HEX: #74508E
RGB: (116,80,142)
#74508E contains mainly red and blue colors. Web safe color of #74508E is #666699 (or #669).
#74508E color RGB value is (116,80,142).
RGB: (116,80,142) (45%,31%,56%)
R 116 of 255 = 45%
G 80 of 255 = 31%
B 142 of 255 = 56%
R + G + B ~ 44%. #74508E is middle color (not dark and not light).
R + G + B =
116 + 80 + 142 = 338 (100%)
R 116 of 338 ~ 34.32%
G 80 of 338 ~ 23.67%
B 142 of 338 ~ 42.01%
#74508E color CMYK value is (18,44,0,44).
CMYK: (18,44,0,44) C18M44Y0K44 (18%,44%,0%,44%) (0.18/0.44/0.00/0.44)
74 | 50 | 8E | |
---|---|---|---|
RGB | 116 | 80 | 142 |
HSL | 275° | 27.93% | 43.53% |
HSB/HSV | 275° | 43.66% | 55.69% |
CMYK | 18.31% | 43.66% | 0.00% |
44.31% |
HEX | 74 | 50 | 8E |
Decimal | 116 | 80 | 142 |
Binary | 1110100 | 1010000 | 10001110 |
Octal | 164 | 120 | 216 |
Examples of css and html codes for elements with #74508E color. Also use rgb(116,80,142) instead hex code.
.myTextColor { color: #74508E; }
<p style="color:#74508E">This sample text font color is #74508E.</p>
This text font color is #74508E.
.myBgColor { background-color: #74508E; }
<div style="background-color:#74508E">Inner text</div>
This div background color is #74508E.
.myBorderColor { border: 1px solid #74508E; }
<div style="border:3px solid #74508E">Div</div>
This div border color is #74508E.
.myOpacity80 { color: #74508E; opacity: 0.8; }
<p style="color:#74508E;opacity:0.8;">80%</p>
Text with #74508E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74508E;}
<p style="text-shadow: 3px 3px 1px #74508E">Text here.</p>
This text has shadow with #74508E color.
.textShadow {text-shadow: 3px 3px 1px #74508E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74508E, 5px 5px 20px red">Text here.</p>
This text has shadow with #74508E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74508E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74508E, Direction=45, Strength=4)">Text</p>
This text has shadow with #74508E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74508E; -webkit-box-shadow: 1px 1px 3px 2px #74508E; box-shadow: 1px 1px 3px 2px #74508E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74508E; -webkit-box-shadow: 1px 1px 3px 2px #74508E; box-shadow:1px 1px 3px 2px #74508E;">
Div content here</div>
This text has color #74508E on black background.
This text has color #74508E on white background.
This text has black color on #74508E background.
This text has white color on #74508E background.