HEX: #126AB1
RGB: (18,106,177)
#126AB1 contains mainly blue color. Web safe color of #126AB1 is #006699 (or #069).
#126AB1 color RGB value is (18,106,177).
RGB: (18,106,177) (7%,42%,69%)
R 18 of 255 = 7%
G 106 of 255 = 42%
B 177 of 255 = 69%
R + G + B ~ 39%. #126AB1 is quite dark color.
R + G + B =
18 + 106 + 177 = 301 (100%)
R 18 of 301 ~ 5.98%
G 106 of 301 ~ 35.22%
B 177 of 301 ~ 58.8%
#126AB1 color CMYK value is (90,40,0,31).
CMYK: (90,40,0,31) C90M40Y0K31 (90%,40%,0%,31%) (0.90/0.40/0.00/0.31)
12 | 6A | B1 | |
---|---|---|---|
RGB | 18 | 106 | 177 |
HSL | 207° | 81.54% | 38.24% |
HSB/HSV | 207° | 89.83% | 69.41% |
CMYK | 89.83% | 40.11% | 0.00% |
30.59% |
HEX | 12 | 6A | B1 |
Decimal | 18 | 106 | 177 |
Binary | 10010 | 1101010 | 10110001 |
Octal | 22 | 152 | 261 |
Examples of css and html codes for elements with #126AB1 color. Also use rgb(18,106,177) instead hex code.
.myTextColor { color: #126AB1; }
<p style="color:#126AB1">This sample text font color is #126AB1.</p>
This text font color is #126AB1.
.myBgColor { background-color: #126AB1; }
<div style="background-color:#126AB1">Inner text</div>
This div background color is #126AB1.
.myBorderColor { border: 1px solid #126AB1; }
<div style="border:3px solid #126AB1">Div</div>
This div border color is #126AB1.
.myOpacity80 { color: #126AB1; opacity: 0.8; }
<p style="color:#126AB1;opacity:0.8;">80%</p>
Text with #126AB1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #126AB1;}
<p style="text-shadow: 3px 3px 1px #126AB1">Text here.</p>
This text has shadow with #126AB1 color.
.textShadow {text-shadow: 3px 3px 1px #126AB1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #126AB1, 5px 5px 20px red">Text here.</p>
This text has shadow with #126AB1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#126AB1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#126AB1, Direction=45, Strength=4)">Text</p>
This text has shadow with #126AB1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #126AB1; -webkit-box-shadow: 1px 1px 3px 2px #126AB1; box-shadow: 1px 1px 3px 2px #126AB1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #126AB1; -webkit-box-shadow: 1px 1px 3px 2px #126AB1; box-shadow:1px 1px 3px 2px #126AB1;">
Div content here</div>
This text has color #126AB1 on black background.
This text has color #126AB1 on white background.
This text has black color on #126AB1 background.
This text has white color on #126AB1 background.