HEX: #187EBA
RGB: (24,126,186)
#187EBA contains mainly blue color. Web safe color of #187EBA is #0066CC (or #06C).
#187EBA color RGB value is (24,126,186).
RGB: (24,126,186) (9%,49%,73%)
R 24 of 255 = 9%
G 126 of 255 = 49%
B 186 of 255 = 73%
R + G + B ~ 44%. #187EBA is middle color (not dark and not light).
R + G + B =
24 + 126 + 186 = 336 (100%)
R 24 of 336 ~ 7.14%
G 126 of 336 ~ 37.5%
B 186 of 336 ~ 55.36%
#187EBA color CMYK value is (87,32,0,27).
CMYK: (87,32,0,27) C87M32Y0K27 (87%,32%,0%,27%) (0.87/0.32/0.00/0.27)
18 | 7E | BA | |
---|---|---|---|
RGB | 24 | 126 | 186 |
HSL | 202° | 77.14% | 41.18% |
HSB/HSV | 202° | 87.10% | 72.94% |
CMYK | 87.10% | 32.26% | 0.00% |
27.06% |
HEX | 18 | 7E | BA |
Decimal | 24 | 126 | 186 |
Binary | 11000 | 1111110 | 10111010 |
Octal | 30 | 176 | 272 |
Examples of css and html codes for elements with #187EBA color. Also use rgb(24,126,186) instead hex code.
.myTextColor { color: #187EBA; }
<p style="color:#187EBA">This sample text font color is #187EBA.</p>
This text font color is #187EBA.
.myBgColor { background-color: #187EBA; }
<div style="background-color:#187EBA">Inner text</div>
This div background color is #187EBA.
.myBorderColor { border: 1px solid #187EBA; }
<div style="border:3px solid #187EBA">Div</div>
This div border color is #187EBA.
.myOpacity80 { color: #187EBA; opacity: 0.8; }
<p style="color:#187EBA;opacity:0.8;">80%</p>
Text with #187EBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #187EBA;}
<p style="text-shadow: 3px 3px 1px #187EBA">Text here.</p>
This text has shadow with #187EBA color.
.textShadow {text-shadow: 3px 3px 1px #187EBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #187EBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #187EBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#187EBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#187EBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #187EBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #187EBA; -webkit-box-shadow: 1px 1px 3px 2px #187EBA; box-shadow: 1px 1px 3px 2px #187EBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #187EBA; -webkit-box-shadow: 1px 1px 3px 2px #187EBA; box-shadow:1px 1px 3px 2px #187EBA;">
Div content here</div>
This text has color #187EBA on black background.
This text has color #187EBA on white background.
This text has black color on #187EBA background.
This text has white color on #187EBA background.