HEX: #492789
RGB: (73,39,137)
#492789 contains mainly blue color. Web safe color of #492789 is #333399 (or #339).
#492789 color RGB value is (73,39,137).
RGB: (73,39,137) (29%,15%,54%)
R 73 of 255 = 29%
G 39 of 255 = 15%
B 137 of 255 = 54%
R + G + B ~ 33%. #492789 is quite dark color.
R + G + B =
73 + 39 + 137 = 249 (100%)
R 73 of 249 ~ 29.32%
G 39 of 249 ~ 15.66%
B 137 of 249 ~ 55.02%
#492789 color CMYK value is (47,72,0,46).
CMYK: (47,72,0,46) C47M72Y0K46 (47%,72%,0%,46%) (0.47/0.72/0.00/0.46)
49 | 27 | 89 | |
---|---|---|---|
RGB | 73 | 39 | 137 |
HSL | 261° | 55.68% | 34.51% |
HSB/HSV | 261° | 71.53% | 53.73% |
CMYK | 46.72% | 71.53% | 0.00% |
46.27% |
HEX | 49 | 27 | 89 |
Decimal | 73 | 39 | 137 |
Binary | 1001001 | 100111 | 10001001 |
Octal | 111 | 47 | 211 |
Examples of css and html codes for elements with #492789 color. Also use rgb(73,39,137) instead hex code.
.myTextColor { color: #492789; }
<p style="color:#492789">This sample text font color is #492789.</p>
This text font color is #492789.
.myBgColor { background-color: #492789; }
<div style="background-color:#492789">Inner text</div>
This div background color is #492789.
.myBorderColor { border: 1px solid #492789; }
<div style="border:3px solid #492789">Div</div>
This div border color is #492789.
.myOpacity80 { color: #492789; opacity: 0.8; }
<p style="color:#492789;opacity:0.8;">80%</p>
Text with #492789 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #492789;}
<p style="text-shadow: 3px 3px 1px #492789">Text here.</p>
This text has shadow with #492789 color.
.textShadow {text-shadow: 3px 3px 1px #492789, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #492789, 5px 5px 20px red">Text here.</p>
This text has shadow with #492789 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#492789, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#492789, Direction=45, Strength=4)">Text</p>
This text has shadow with #492789 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #492789; -webkit-box-shadow: 1px 1px 3px 2px #492789; box-shadow: 1px 1px 3px 2px #492789; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #492789; -webkit-box-shadow: 1px 1px 3px 2px #492789; box-shadow:1px 1px 3px 2px #492789;">
Div content here</div>
This text has color #492789 on black background.
This text has color #492789 on white background.
This text has black color on #492789 background.
This text has white color on #492789 background.