HEX: #120CBD
RGB: (18,12,189)
#120CBD contains mainly blue color. Web safe color of #120CBD is #0000CC (or #00C).
#120CBD color RGB value is (18,12,189).
RGB: (18,12,189) (7%,5%,74%)
R 18 of 255 = 7%
G 12 of 255 = 5%
B 189 of 255 = 74%
R + G + B ~ 29%. #120CBD is quite dark color.
R + G + B =
18 + 12 + 189 = 219 (100%)
R 18 of 219 ~ 8.22%
G 12 of 219 ~ 5.48%
B 189 of 219 ~ 86.3%
#120CBD color CMYK value is (90,94,0,26).
CMYK: (90,94,0,26) C90M94Y0K26 (90%,94%,0%,26%) (0.90/0.94/0.00/0.26)
12 | 0C | BD | |
---|---|---|---|
RGB | 18 | 12 | 189 |
HSL | 242° | 88.06% | 39.41% |
HSB/HSV | 242° | 93.65% | 74.12% |
CMYK | 90.48% | 93.65% | 0.00% |
25.88% |
HEX | 12 | 0C | BD |
Decimal | 18 | 12 | 189 |
Binary | 10010 | 1100 | 10111101 |
Octal | 22 | 14 | 275 |
Examples of css and html codes for elements with #120CBD color. Also use rgb(18,12,189) instead hex code.
.myTextColor { color: #120CBD; }
<p style="color:#120CBD">This sample text font color is #120CBD.</p>
This text font color is #120CBD.
.myBgColor { background-color: #120CBD; }
<div style="background-color:#120CBD">Inner text</div>
This div background color is #120CBD.
.myBorderColor { border: 1px solid #120CBD; }
<div style="border:3px solid #120CBD">Div</div>
This div border color is #120CBD.
.myOpacity80 { color: #120CBD; opacity: 0.8; }
<p style="color:#120CBD;opacity:0.8;">80%</p>
Text with #120CBD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #120CBD;}
<p style="text-shadow: 3px 3px 1px #120CBD">Text here.</p>
This text has shadow with #120CBD color.
.textShadow {text-shadow: 3px 3px 1px #120CBD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #120CBD, 5px 5px 20px red">Text here.</p>
This text has shadow with #120CBD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#120CBD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#120CBD, Direction=45, Strength=4)">Text</p>
This text has shadow with #120CBD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #120CBD; -webkit-box-shadow: 1px 1px 3px 2px #120CBD; box-shadow: 1px 1px 3px 2px #120CBD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #120CBD; -webkit-box-shadow: 1px 1px 3px 2px #120CBD; box-shadow:1px 1px 3px 2px #120CBD;">
Div content here</div>
This text has color #120CBD on black background.
This text has color #120CBD on white background.
This text has black color on #120CBD background.
This text has white color on #120CBD background.