HEX: #492970
RGB: (73,41,112)
#492970 contains mainly red and blue colors. Web safe color of #492970 is #333366 (or #336).
#492970 color RGB value is (73,41,112).
RGB: (73,41,112) (29%,16%,44%)
R 73 of 255 = 29%
G 41 of 255 = 16%
B 112 of 255 = 44%
R + G + B ~ 30%. #492970 is quite dark color.
R + G + B =
73 + 41 + 112 = 226 (100%)
R 73 of 226 ~ 32.3%
G 41 of 226 ~ 18.14%
B 112 of 226 ~ 49.56%
#492970 color CMYK value is (35,63,0,56).
CMYK: (35,63,0,56) C35M63Y0K56 (35%,63%,0%,56%) (0.35/0.63/0.00/0.56)
49 | 29 | 70 | |
---|---|---|---|
RGB | 73 | 41 | 112 |
HSL | 267° | 46.41% | 30.00% |
HSB/HSV | 267° | 63.39% | 43.92% |
CMYK | 34.82% | 63.39% | 0.00% |
56.08% |
HEX | 49 | 29 | 70 |
Decimal | 73 | 41 | 112 |
Binary | 1001001 | 101001 | 1110000 |
Octal | 111 | 51 | 160 |
Examples of css and html codes for elements with #492970 color. Also use rgb(73,41,112) instead hex code.
.myTextColor { color: #492970; }
<p style="color:#492970">This sample text font color is #492970.</p>
This text font color is #492970.
.myBgColor { background-color: #492970; }
<div style="background-color:#492970">Inner text</div>
This div background color is #492970.
.myBorderColor { border: 1px solid #492970; }
<div style="border:3px solid #492970">Div</div>
This div border color is #492970.
.myOpacity80 { color: #492970; opacity: 0.8; }
<p style="color:#492970;opacity:0.8;">80%</p>
Text with #492970 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #492970;}
<p style="text-shadow: 3px 3px 1px #492970">Text here.</p>
This text has shadow with #492970 color.
.textShadow {text-shadow: 3px 3px 1px #492970, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #492970, 5px 5px 20px red">Text here.</p>
This text has shadow with #492970 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#492970, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#492970, Direction=45, Strength=4)">Text</p>
This text has shadow with #492970 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #492970; -webkit-box-shadow: 1px 1px 3px 2px #492970; box-shadow: 1px 1px 3px 2px #492970; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #492970; -webkit-box-shadow: 1px 1px 3px 2px #492970; box-shadow:1px 1px 3px 2px #492970;">
Div content here</div>
This text has color #492970 on black background.
This text has color #492970 on white background.
This text has black color on #492970 background.
This text has white color on #492970 background.