HEX: #011221
RGB: (1,18,33)
#011221 contains red, green and blue colors in about the same proportion. Web safe color of #011221 is #000033 (or #003).
#011221 color RGB value is (1,18,33).
RGB: (1,18,33) (0%,7%,13%)
R 1 of 255 = 0%
G 18 of 255 = 7%
B 33 of 255 = 13%
R + G + B ~ 7%. #011221 is dark color.
R + G + B =
1 + 18 + 33 = 52 (100%)
R 1 of 52 ~ 1.92%
G 18 of 52 ~ 34.62%
B 33 of 52 ~ 63.46%
#011221 color CMYK value is (97,45,0,87).
CMYK: (97,45,0,87) C97M45Y0K87 (97%,45%,0%,87%) (0.97/0.45/0.00/0.87)
01 | 12 | 21 | |
---|---|---|---|
RGB | 1 | 18 | 33 |
HSL | 208° | 94.12% | 6.67% |
HSB/HSV | 208° | 96.97% | 12.94% |
CMYK | 96.97% | 45.45% | 0.00% |
87.06% |
HEX | 01 | 12 | 21 |
Decimal | 1 | 18 | 33 |
Binary | 1 | 10010 | 100001 |
Octal | 1 | 22 | 41 |
Examples of css and html codes for elements with #011221 color. Also use rgb(1,18,33) instead hex code.
.myTextColor { color: #011221; }
<p style="color:#011221">This sample text font color is #011221.</p>
This text font color is #011221.
.myBgColor { background-color: #011221; }
<div style="background-color:#011221">Inner text</div>
This div background color is #011221.
.myBorderColor { border: 1px solid #011221; }
<div style="border:3px solid #011221">Div</div>
This div border color is #011221.
.myOpacity80 { color: #011221; opacity: 0.8; }
<p style="color:#011221;opacity:0.8;">80%</p>
Text with #011221 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #011221;}
<p style="text-shadow: 3px 3px 1px #011221">Text here.</p>
This text has shadow with #011221 color.
.textShadow {text-shadow: 3px 3px 1px #011221, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #011221, 5px 5px 20px red">Text here.</p>
This text has shadow with #011221 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#011221, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#011221, Direction=45, Strength=4)">Text</p>
This text has shadow with #011221 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #011221; -webkit-box-shadow: 1px 1px 3px 2px #011221; box-shadow: 1px 1px 3px 2px #011221; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #011221; -webkit-box-shadow: 1px 1px 3px 2px #011221; box-shadow:1px 1px 3px 2px #011221;">
Div content here</div>
This text has color #011221 on black background.
This text has color #011221 on white background.
This text has black color on #011221 background.
This text has white color on #011221 background.