HEX: #126BDA
RGB: (18,107,218)
#126BDA contains mainly blue color. Web safe color of #126BDA is #0066CC (or #06C).
#126BDA color RGB value is (18,107,218).
RGB: (18,107,218) (7%,42%,85%)
R 18 of 255 = 7%
G 107 of 255 = 42%
B 218 of 255 = 85%
R + G + B ~ 45%. #126BDA is middle color (not dark and not light).
R + G + B =
18 + 107 + 218 = 343 (100%)
R 18 of 343 ~ 5.25%
G 107 of 343 ~ 31.2%
B 218 of 343 ~ 63.56%
#126BDA color CMYK value is (92,51,0,15).
CMYK: (92,51,0,15) C92M51Y0K15 (92%,51%,0%,15%) (0.92/0.51/0.00/0.15)
12 | 6B | DA | |
---|---|---|---|
RGB | 18 | 107 | 218 |
HSL | 213° | 84.75% | 46.27% |
HSB/HSV | 213° | 91.74% | 85.49% |
CMYK | 91.74% | 50.92% | 0.00% |
14.51% |
HEX | 12 | 6B | DA |
Decimal | 18 | 107 | 218 |
Binary | 10010 | 1101011 | 11011010 |
Octal | 22 | 153 | 332 |
Examples of css and html codes for elements with #126BDA color. Also use rgb(18,107,218) instead hex code.
.myTextColor { color: #126BDA; }
<p style="color:#126BDA">This sample text font color is #126BDA.</p>
This text font color is #126BDA.
.myBgColor { background-color: #126BDA; }
<div style="background-color:#126BDA">Inner text</div>
This div background color is #126BDA.
.myBorderColor { border: 1px solid #126BDA; }
<div style="border:3px solid #126BDA">Div</div>
This div border color is #126BDA.
.myOpacity80 { color: #126BDA; opacity: 0.8; }
<p style="color:#126BDA;opacity:0.8;">80%</p>
Text with #126BDA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #126BDA;}
<p style="text-shadow: 3px 3px 1px #126BDA">Text here.</p>
This text has shadow with #126BDA color.
.textShadow {text-shadow: 3px 3px 1px #126BDA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #126BDA, 5px 5px 20px red">Text here.</p>
This text has shadow with #126BDA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#126BDA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#126BDA, Direction=45, Strength=4)">Text</p>
This text has shadow with #126BDA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #126BDA; -webkit-box-shadow: 1px 1px 3px 2px #126BDA; box-shadow: 1px 1px 3px 2px #126BDA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #126BDA; -webkit-box-shadow: 1px 1px 3px 2px #126BDA; box-shadow:1px 1px 3px 2px #126BDA;">
Div content here</div>
This text has color #126BDA on black background.
This text has color #126BDA on white background.
This text has black color on #126BDA background.
This text has white color on #126BDA background.