HEX: #490C8E
RGB: (73,12,142)
#490C8E contains mainly blue color. Web safe color of #490C8E is #330099 (or #309).
#490C8E color RGB value is (73,12,142).
RGB: (73,12,142) (29%,5%,56%)
R 73 of 255 = 29%
G 12 of 255 = 5%
B 142 of 255 = 56%
R + G + B ~ 30%. #490C8E is quite dark color.
R + G + B =
73 + 12 + 142 = 227 (100%)
R 73 of 227 ~ 32.16%
G 12 of 227 ~ 5.29%
B 142 of 227 ~ 62.56%
#490C8E color CMYK value is (49,92,0,44).
CMYK: (49,92,0,44) C49M92Y0K44 (49%,92%,0%,44%) (0.49/0.92/0.00/0.44)
49 | 0C | 8E | |
---|---|---|---|
RGB | 73 | 12 | 142 |
HSL | 268° | 84.42% | 30.20% |
HSB/HSV | 268° | 91.55% | 55.69% |
CMYK | 48.59% | 91.55% | 0.00% |
44.31% |
HEX | 49 | 0C | 8E |
Decimal | 73 | 12 | 142 |
Binary | 1001001 | 1100 | 10001110 |
Octal | 111 | 14 | 216 |
Examples of css and html codes for elements with #490C8E color. Also use rgb(73,12,142) instead hex code.
.myTextColor { color: #490C8E; }
<p style="color:#490C8E">This sample text font color is #490C8E.</p>
This text font color is #490C8E.
.myBgColor { background-color: #490C8E; }
<div style="background-color:#490C8E">Inner text</div>
This div background color is #490C8E.
.myBorderColor { border: 1px solid #490C8E; }
<div style="border:3px solid #490C8E">Div</div>
This div border color is #490C8E.
.myOpacity80 { color: #490C8E; opacity: 0.8; }
<p style="color:#490C8E;opacity:0.8;">80%</p>
Text with #490C8E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #490C8E;}
<p style="text-shadow: 3px 3px 1px #490C8E">Text here.</p>
This text has shadow with #490C8E color.
.textShadow {text-shadow: 3px 3px 1px #490C8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #490C8E, 5px 5px 20px red">Text here.</p>
This text has shadow with #490C8E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#490C8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#490C8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #490C8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #490C8E; -webkit-box-shadow: 1px 1px 3px 2px #490C8E; box-shadow: 1px 1px 3px 2px #490C8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #490C8E; -webkit-box-shadow: 1px 1px 3px 2px #490C8E; box-shadow:1px 1px 3px 2px #490C8E;">
Div content here</div>
This text has color #490C8E on black background.
This text has color #490C8E on white background.
This text has black color on #490C8E background.
This text has white color on #490C8E background.