HEX: #120940
RGB: (18,9,64)
#120940 contains red, green and blue colors in about the same proportion. Web safe color of #120940 is #000033 (or #003).
#120940 color RGB value is (18,9,64).
RGB: (18,9,64)
(7%, 4%, 25%)
R 18 of 255 = 7%
G 9 of 255 = 4%
B 64 of 255 = 25%
R + G + B ~ 12%. #120940 is dark color.
R + G + B = 18 + 9 + 64 = 91 (100%)
R 18 of 91 ~ 19.78%
G 9 of 91 ~ 9.89%
B 64 of 91 ~ 70.33'%
#120940 color CMYK value is (72,86,0,75).
CMYK: (72,86,0,75)
C72M86Y0K75 (72%, 86%, 0%, 75%)
(0.72 / 0.86 / 0.00 / 0.75)
Color #120940 in popluar color models
12 | 09 | 40 | |
---|---|---|---|
RGB | 18 | 9 | 64 |
HSL | 250° | 75.34% | 14.31% |
HSB/HSV | 250° | 85.94% | 25.10% |
CMYK | 71.88% | 85.94% | 0.00% |
74.90% |
Color #120940 in popluar number systems.
HEX | 12 | 09 | 40 |
Decimal | 18 | 9 | 64 |
Binary | 10010 | 1001 | 1000000 |
Octal | 22 | 11 | 100 |
Shades of #120940
Tints of #120940
Examples of css and html codes for elements with #120940 color. Also use rgb(18,9,64) instead hex code.
.myTextColor { color: #120940; }
<p style="color:#120940">This sample text font color is #120940.</p>
This text font color is #120940.
.myBgColor { background-color: #120940; }
<div style="background-color:#120940">Inner text</div>
This div background color is #120940.
.myBorderColor { border: 1px solid #120940; }
<div style="border:3px solid #120940">Div</div>
This div border color is #120940.
.myOpacity80 { color: #120940; opacity: 0.8; }
<p style="color:#120940;opacity:0.8;">80%</p>
Text with #120940 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #120940;}
<p style="text-shadow: 3px 3px 1px #120940">Text here.</p>
This text has shadow with #120940 color.
.textShadow {text-shadow: 3px 3px 1px #120940', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #120940, 5px 5px 20px red">Text here.</p>
This text has shadow with #120940 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#120940, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#120940, Direction=45, Strength=4)">Text</p>
This text has shadow with #120940 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #120940;
-webkit-box-shadow: 1px 1px 3px 2px #120940;
box-shadow: 1px 1px 3px 2px #120940;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #120940; -webkit-box-shadow: 1px 1px 3px 2px #120940; box-shadow:1px 1px 3px 2px #120940;">
Div content here
</div>
This text has color #120940 on black background.
This text has color #120940 on white background.
This text has black color on #120940 background.
This text has white color on #120940 background.
Complementary color for #hex is #EDF6BF.