HEX: #0051E3
RGB: (0,81,227)
#0051E3 contains mainly blue color. Web safe color of #0051E3 is #0066CC (or #06C).
#0051E3 color RGB value is (0,81,227).
RGB: (0,81,227) (0%,32%,89%)
R 0 of 255 = 0%
G 81 of 255 = 32%
B 227 of 255 = 89%
R + G + B ~ 40%. #0051E3 is middle color (not dark and not light).
R + G + B =
0 + 81 + 227 = 308 (100%)
R 0 of 308 ~ 0%
G 81 of 308 ~ 26.3%
B 227 of 308 ~ 73.7%
#0051E3 color CMYK value is (100,64,0,11).
CMYK: (100,64,0,11) C100M64Y0K11 (100%,64%,0%,11%) (1.00/0.64/0.00/0.11)
00 | 51 | E3 | |
---|---|---|---|
RGB | 0 | 81 | 227 |
HSL | 219° | 100.00% | 44.51% |
HSB/HSV | 219° | 100.00% | 89.02% |
CMYK | 100.00% | 64.32% | 0.00% |
10.98% |
HEX | 00 | 51 | E3 |
Decimal | 0 | 81 | 227 |
Binary | 0 | 1010001 | 11100011 |
Octal | 0 | 121 | 343 |
Examples of css and html codes for elements with #0051E3 color. Also use rgb(0,81,227) instead hex code.
.myTextColor { color: #0051E3; }
<p style="color:#0051E3">This sample text font color is #0051E3.</p>
This text font color is #0051E3.
.myBgColor { background-color: #0051E3; }
<div style="background-color:#0051E3">Inner text</div>
This div background color is #0051E3.
.myBorderColor { border: 1px solid #0051E3; }
<div style="border:3px solid #0051E3">Div</div>
This div border color is #0051E3.
.myOpacity80 { color: #0051E3; opacity: 0.8; }
<p style="color:#0051E3;opacity:0.8;">80%</p>
Text with #0051E3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0051E3;}
<p style="text-shadow: 3px 3px 1px #0051E3">Text here.</p>
This text has shadow with #0051E3 color.
.textShadow {text-shadow: 3px 3px 1px #0051E3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0051E3, 5px 5px 20px red">Text here.</p>
This text has shadow with #0051E3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0051E3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0051E3, Direction=45, Strength=4)">Text</p>
This text has shadow with #0051E3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0051E3; -webkit-box-shadow: 1px 1px 3px 2px #0051E3; box-shadow: 1px 1px 3px 2px #0051E3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0051E3; -webkit-box-shadow: 1px 1px 3px 2px #0051E3; box-shadow:1px 1px 3px 2px #0051E3;">
Div content here</div>
This text has color #0051E3 on black background.
This text has color #0051E3 on white background.
This text has black color on #0051E3 background.
This text has white color on #0051E3 background.