HEX: #001271
RGB: (0,18,113)
#001271 contains mainly blue color. Web safe color of #001271 is #000066 (or #006).
#001271 color RGB value is (0,18,113).
RGB: (0,18,113) (0%,7%,44%)
R 0 of 255 = 0%
G 18 of 255 = 7%
B 113 of 255 = 44%
R + G + B ~ 17%. #001271 is dark color.
R + G + B =
0 + 18 + 113 = 131 (100%)
R 0 of 131 ~ 0%
G 18 of 131 ~ 13.74%
B 113 of 131 ~ 86.26%
#001271 color CMYK value is (100,84,0,56).
CMYK: (100,84,0,56) C100M84Y0K56 (100%,84%,0%,56%) (1.00/0.84/0.00/0.56)
00 | 12 | 71 | |
---|---|---|---|
RGB | 0 | 18 | 113 |
HSL | 230° | 100.00% | 22.16% |
HSB/HSV | 230° | 100.00% | 44.31% |
CMYK | 100.00% | 84.07% | 0.00% |
55.69% |
HEX | 00 | 12 | 71 |
Decimal | 0 | 18 | 113 |
Binary | 0 | 10010 | 1110001 |
Octal | 0 | 22 | 161 |
Examples of css and html codes for elements with #001271 color. Also use rgb(0,18,113) instead hex code.
.myTextColor { color: #001271; }
<p style="color:#001271">This sample text font color is #001271.</p>
This text font color is #001271.
.myBgColor { background-color: #001271; }
<div style="background-color:#001271">Inner text</div>
This div background color is #001271.
.myBorderColor { border: 1px solid #001271; }
<div style="border:3px solid #001271">Div</div>
This div border color is #001271.
.myOpacity80 { color: #001271; opacity: 0.8; }
<p style="color:#001271;opacity:0.8;">80%</p>
Text with #001271 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #001271;}
<p style="text-shadow: 3px 3px 1px #001271">Text here.</p>
This text has shadow with #001271 color.
.textShadow {text-shadow: 3px 3px 1px #001271, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #001271, 5px 5px 20px red">Text here.</p>
This text has shadow with #001271 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#001271, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#001271, Direction=45, Strength=4)">Text</p>
This text has shadow with #001271 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #001271; -webkit-box-shadow: 1px 1px 3px 2px #001271; box-shadow: 1px 1px 3px 2px #001271; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #001271; -webkit-box-shadow: 1px 1px 3px 2px #001271; box-shadow:1px 1px 3px 2px #001271;">
Div content here</div>
This text has color #001271 on black background.
This text has color #001271 on white background.
This text has black color on #001271 background.
This text has white color on #001271 background.