HEX: #120C58
RGB: (18,12,88)
#120C58 contains mainly blue color. Web safe color of #120C58 is #000066 (or #006).
#120C58 color RGB value is (18,12,88).
RGB: (18,12,88) (7%,5%,35%)
R 18 of 255 = 7%
G 12 of 255 = 5%
B 88 of 255 = 35%
R + G + B ~ 16%. #120C58 is dark color.
R + G + B =
18 + 12 + 88 = 118 (100%)
R 18 of 118 ~ 15.25%
G 12 of 118 ~ 10.17%
B 88 of 118 ~ 74.58%
#120C58 color CMYK value is (80,86,0,65).
CMYK: (80,86,0,65) C80M86Y0K65 (80%,86%,0%,65%) (0.80/0.86/0.00/0.65)
12 | 0C | 58 | |
---|---|---|---|
RGB | 18 | 12 | 88 |
HSL | 245° | 76.00% | 19.61% |
HSB/HSV | 245° | 86.36% | 34.51% |
CMYK | 79.55% | 86.36% | 0.00% |
65.49% |
HEX | 12 | 0C | 58 |
Decimal | 18 | 12 | 88 |
Binary | 10010 | 1100 | 1011000 |
Octal | 22 | 14 | 130 |
Examples of css and html codes for elements with #120C58 color. Also use rgb(18,12,88) instead hex code.
.myTextColor { color: #120C58; }
<p style="color:#120C58">This sample text font color is #120C58.</p>
This text font color is #120C58.
.myBgColor { background-color: #120C58; }
<div style="background-color:#120C58">Inner text</div>
This div background color is #120C58.
.myBorderColor { border: 1px solid #120C58; }
<div style="border:3px solid #120C58">Div</div>
This div border color is #120C58.
.myOpacity80 { color: #120C58; opacity: 0.8; }
<p style="color:#120C58;opacity:0.8;">80%</p>
Text with #120C58 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #120C58;}
<p style="text-shadow: 3px 3px 1px #120C58">Text here.</p>
This text has shadow with #120C58 color.
.textShadow {text-shadow: 3px 3px 1px #120C58, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #120C58, 5px 5px 20px red">Text here.</p>
This text has shadow with #120C58 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#120C58, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#120C58, Direction=45, Strength=4)">Text</p>
This text has shadow with #120C58 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #120C58; -webkit-box-shadow: 1px 1px 3px 2px #120C58; box-shadow: 1px 1px 3px 2px #120C58; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #120C58; -webkit-box-shadow: 1px 1px 3px 2px #120C58; box-shadow:1px 1px 3px 2px #120C58;">
Div content here</div>
This text has color #120C58 on black background.
This text has color #120C58 on white background.
This text has black color on #120C58 background.
This text has white color on #120C58 background.