HEX: #490271
RGB: (73,2,113)
#490271 contains mainly red and blue colors. Web safe color of #490271 is #330066 (or #306).
#490271 color RGB value is (73,2,113).
RGB: (73,2,113) (29%,1%,44%)
R 73 of 255 = 29%
G 2 of 255 = 1%
B 113 of 255 = 44%
R + G + B ~ 25%. #490271 is quite dark color.
R + G + B =
73 + 2 + 113 = 188 (100%)
R 73 of 188 ~ 38.83%
G 2 of 188 ~ 1.06%
B 113 of 188 ~ 60.11%
#490271 color CMYK value is (35,98,0,56).
CMYK: (35,98,0,56) C35M98Y0K56 (35%,98%,0%,56%) (0.35/0.98/0.00/0.56)
49 | 02 | 71 | |
---|---|---|---|
RGB | 73 | 2 | 113 |
HSL | 278° | 96.52% | 22.55% |
HSB/HSV | 278° | 98.23% | 44.31% |
CMYK | 35.40% | 98.23% | 0.00% |
55.69% |
HEX | 49 | 02 | 71 |
Decimal | 73 | 2 | 113 |
Binary | 1001001 | 10 | 1110001 |
Octal | 111 | 2 | 161 |
Examples of css and html codes for elements with #490271 color. Also use rgb(73,2,113) instead hex code.
.myTextColor { color: #490271; }
<p style="color:#490271">This sample text font color is #490271.</p>
This text font color is #490271.
.myBgColor { background-color: #490271; }
<div style="background-color:#490271">Inner text</div>
This div background color is #490271.
.myBorderColor { border: 1px solid #490271; }
<div style="border:3px solid #490271">Div</div>
This div border color is #490271.
.myOpacity80 { color: #490271; opacity: 0.8; }
<p style="color:#490271;opacity:0.8;">80%</p>
Text with #490271 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #490271;}
<p style="text-shadow: 3px 3px 1px #490271">Text here.</p>
This text has shadow with #490271 color.
.textShadow {text-shadow: 3px 3px 1px #490271, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #490271, 5px 5px 20px red">Text here.</p>
This text has shadow with #490271 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#490271, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#490271, Direction=45, Strength=4)">Text</p>
This text has shadow with #490271 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #490271; -webkit-box-shadow: 1px 1px 3px 2px #490271; box-shadow: 1px 1px 3px 2px #490271; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #490271; -webkit-box-shadow: 1px 1px 3px 2px #490271; box-shadow:1px 1px 3px 2px #490271;">
Div content here</div>
This text has color #490271 on black background.
This text has color #490271 on white background.
This text has black color on #490271 background.
This text has white color on #490271 background.