HEX: #120747
RGB: (18,7,71)
#120747 contains mainly red and blue colors. Web safe color of #120747 is #000033 (or #003).
#120747 color RGB value is (18,7,71).
RGB: (18,7,71) (7%,3%,28%)
R 18 of 255 = 7%
G 7 of 255 = 3%
B 71 of 255 = 28%
R + G + B ~ 13%. #120747 is dark color.
R + G + B =
18 + 7 + 71 = 96 (100%)
R 18 of 96 ~ 18.75%
G 7 of 96 ~ 7.29%
B 71 of 96 ~ 73.96%
#120747 color CMYK value is (75,90,0,72).
CMYK: (75,90,0,72) C75M90Y0K72 (75%,90%,0%,72%) (0.75/0.90/0.00/0.72)
12 | 07 | 47 | |
---|---|---|---|
RGB | 18 | 7 | 71 |
HSL | 250° | 82.05% | 15.29% |
HSB/HSV | 250° | 90.14% | 27.84% |
CMYK | 74.65% | 90.14% | 0.00% |
72.16% |
HEX | 12 | 07 | 47 |
Decimal | 18 | 7 | 71 |
Binary | 10010 | 111 | 1000111 |
Octal | 22 | 7 | 107 |
Examples of css and html codes for elements with #120747 color. Also use rgb(18,7,71) instead hex code.
.myTextColor { color: #120747; }
<p style="color:#120747">This sample text font color is #120747.</p>
This text font color is #120747.
.myBgColor { background-color: #120747; }
<div style="background-color:#120747">Inner text</div>
This div background color is #120747.
.myBorderColor { border: 1px solid #120747; }
<div style="border:3px solid #120747">Div</div>
This div border color is #120747.
.myOpacity80 { color: #120747; opacity: 0.8; }
<p style="color:#120747;opacity:0.8;">80%</p>
Text with #120747 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #120747;}
<p style="text-shadow: 3px 3px 1px #120747">Text here.</p>
This text has shadow with #120747 color.
.textShadow {text-shadow: 3px 3px 1px #120747, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #120747, 5px 5px 20px red">Text here.</p>
This text has shadow with #120747 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#120747, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#120747, Direction=45, Strength=4)">Text</p>
This text has shadow with #120747 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #120747; -webkit-box-shadow: 1px 1px 3px 2px #120747; box-shadow: 1px 1px 3px 2px #120747; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #120747; -webkit-box-shadow: 1px 1px 3px 2px #120747; box-shadow:1px 1px 3px 2px #120747;">
Div content here</div>
This text has color #120747 on black background.
This text has color #120747 on white background.
This text has black color on #120747 background.
This text has white color on #120747 background.