HEX: #040683
RGB: (4,6,131)
#040683 contains mainly blue color. Web safe color of #040683 is #000099 (or #009).
#040683 color RGB value is (4,6,131).
RGB: (4,6,131) (2%,2%,51%)
R 4 of 255 = 2%
G 6 of 255 = 2%
B 131 of 255 = 51%
R + G + B ~ 18%. #040683 is dark color.
R + G + B =
4 + 6 + 131 = 141 (100%)
R 4 of 141 ~ 2.84%
G 6 of 141 ~ 4.26%
B 131 of 141 ~ 92.91%
#040683 color CMYK value is (97,95,0,49).
CMYK: (97,95,0,49) C97M95Y0K49 (97%,95%,0%,49%) (0.97/0.95/0.00/0.49)
04 | 06 | 83 | |
---|---|---|---|
RGB | 4 | 6 | 131 |
HSL | 239° | 94.07% | 26.47% |
HSB/HSV | 239° | 96.95% | 51.37% |
CMYK | 96.95% | 95.42% | 0.00% |
48.63% |
HEX | 04 | 06 | 83 |
Decimal | 4 | 6 | 131 |
Binary | 100 | 110 | 10000011 |
Octal | 4 | 6 | 203 |
Examples of css and html codes for elements with #040683 color. Also use rgb(4,6,131) instead hex code.
.myTextColor { color: #040683; }
<p style="color:#040683">This sample text font color is #040683.</p>
This text font color is #040683.
.myBgColor { background-color: #040683; }
<div style="background-color:#040683">Inner text</div>
This div background color is #040683.
.myBorderColor { border: 1px solid #040683; }
<div style="border:3px solid #040683">Div</div>
This div border color is #040683.
.myOpacity80 { color: #040683; opacity: 0.8; }
<p style="color:#040683;opacity:0.8;">80%</p>
Text with #040683 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #040683;}
<p style="text-shadow: 3px 3px 1px #040683">Text here.</p>
This text has shadow with #040683 color.
.textShadow {text-shadow: 3px 3px 1px #040683, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #040683, 5px 5px 20px red">Text here.</p>
This text has shadow with #040683 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#040683, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#040683, Direction=45, Strength=4)">Text</p>
This text has shadow with #040683 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040683; -webkit-box-shadow: 1px 1px 3px 2px #040683; box-shadow: 1px 1px 3px 2px #040683; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #040683; -webkit-box-shadow: 1px 1px 3px 2px #040683; box-shadow:1px 1px 3px 2px #040683;">
Div content here</div>
This text has color #040683 on black background.
This text has color #040683 on white background.
This text has black color on #040683 background.
This text has white color on #040683 background.